[Neo] IMDB search stuff

Anders Nawroth anders at neotechnology.com
Mon Sep 22 19:15:59 CEST 2008


I moved out the "search engine" in the IMDB app to its own class 
(ImdbSearchEngineImpl). The ImdbServiceImpl class now only uses simple 
indexing and calls ImdbSearchEngineImpl for the more complex things.

Design question: should the search engine be more like the index 
service, returning raw nodes, or should it wrap them as Actor/Movie 
objects (would be more consistent in itself this way I think). Which 
alternative would create the least confusion for the newcomer?

It's just a detail, but for an example app details matter a lot!


Code at:

Attached class diagram.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: imdb.domain.service.png
Type: image/png
Size: 62850 bytes
Desc: not available
Url : http://lists.neo4j.org/pipermail/user/attachments/20080922/7af4ff67/attachment-0001.png 

More information about the User mailing list