For the simple wicket-phonebook app, what I'm suggesting is definitely
a cannon. ;)  But I'm using it as an example for a much more
complicated app.  If I can get it working for the phonebook app, then
I can get it working for my app.  I mention the phonebook because many
wicket developers are familiar with it, so it provides a good starting
point.

On the other hand, if there are other ideas that don't involve Lucene,
I'm certainly willing to listen.

Tauren



On Wed, Feb 27, 2008 at 8:33 PM, Martin Makundi
<[EMAIL PROTECTED]> wrote:
> Aren't you trying to killa a mouse with a cannon? Or is the cannon
>  (Hibernate, Lucene, Complexity) just for fun?
>
>  2008/2/27, Tauren Mills <[EMAIL PROTECTED]>:
>
>
> > I'm trying to determine the best way to add full text search
>  >  capabilities to the default wicket-phonebook application.  Basically,
>  >  I want a single search textbox on the page that allows the user to
>  >  search for any data in any field of the data table.  So it would
>  >  search through all contact's first name, last name, email, and phone
>  >  number fields.  Doing the search should repopulate the data table with
>  >  only records that match the search.  The resulting table should still
>  >  be able to be paginated, filtered, and sorted.
>  >
>  >  Igor suggested that I use Hibernate Search (which uses Lucene behind
>  >  the scenes).  I've looked into that and it looks like the right way to
>  >  go.  I've already integrated it into a clean copy of wicket-phonebook
>  >  by converting the app to use hibernate annotations, adding hibernate
>  >  search annotations, and updating the appropriate xml files.
>  >
>  >  I found a helpful resouce, but it seems like doing it the way
>  >  suggested would result in a separate data set that wouldn't work with
>  >  the sorting/filtering/paging of the datatable:
>  >  http://www.jreactor.com/2008/02/18/wicket-and-hibernate-search/
>  >
>  >  So now I'm stuck and am not sure the best way to go forward.  I know
>  >  that I need to add the search feature to ContactsDataProvider and
>  >  ContactDao.  I'd welcome any suggestions, advice, and especially
>  >  example code!
>  >
>  >  Thanks,
>  >  Tauren
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  >  For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to