This question is probably best for the Lucene user community but I thought I would try here first.
I have been using hibernate core for a long time. Now I am need of Full Text Search and am very excited about Hibernate Search.
However, I am little confused on exactly how it works in my situation.
I have a Business object that has lots of different attributes that need to be searched upon (products, services, categories, associations, etc)
I have created the index for Businesses and followed the example programs. Now I am trying to get FTS to work. However, what I am confused on is how to create the query to search against all of these attributes.
Do I need to list in the lucene query something like:
services='value' or products='value' or associations='value' or name='value'
or is there a way to send in 'value' that automatically looks at all the available indexed attributes?
Thanks in advance,
- Doug
|