Searching domain objects

Ryan Sonnek: “Wouldn’t it be great to be able to use a powerful search engine on your business objects? Searching is becoming THE preferred way for user’s to find their data. Emerging applications like Google Desktop and Beagle have embraced the new mantra of user’s to ‘Search, Don’t Sort’. User’s don’t want to be forced to organize their data into limiting categories or folders, or to scroll around applications to find the data they are looking for. Even common GUI practices like table sorting are considered an eye sore compared to a snappy search box.”

Interesting technique. I’m marking this up just because it might come handy in a little while. I’m pretty sure at least one of the readers of my weblog (you know who you are) will find it useful.

3 Responses to “Searching domain objects”


  1. 1 Tony Collen

    Well, I just saw this:

    http://redhanded.hobix.com/inspect/railsfsAfterACoupleMinutesOfToolingWithFuseWhoa.html

    And coupled with the ‘find’ or ‘locate’ commands, I think it would be pretty easy ;)

  2. 2 Gianugo Rabellino

    Heh, old news. Brian McAllister blogged about it a year ago or so (check out http://kasparov.skife.org/blog/src/java/ojb/lucene-ojb.html)

  3. 3 ugo

    What Ryan’s solution has going for it is the use of an interceptor to make the updating of the Lucene index transparent to the persistence code. Sort of a poor man’s aspect.

Leave a Reply