Lucene will generally do the right thing without much help - docs with
more matches will score better and thus be presented first. But you
can give it a helping hand, perhaps with some query boosting: build a
boolean query and add an AND query with a positive boost, then an OR
query with smaller o
Hi:
There are types of TermQuery,TermRangeQuery,and the BooleanQuery and etc
built in lucene,and they can be combined to make a powerful search.
However I wonder if this is useful for a user in the client side?
For example,I build a web user interface with a search textfield(like the
google) for