Hi all,
Which type of query should I use for the following type of thing.
I have multiple words/phrases. I want to run a search for them all OR'd
together. But I want the documents with the most distinct matches to have
the highest score.
An example. I want to search for "TOM OR DICK OR HARRY
regular Lucene BooleanQueries should work fine for this ... but you may
want to customize your Similarity so that the idf and lengthNorms aren't a
factor .. you may want to take the tf out of hte picture too (if you care
more about matching lots of terms and less about matching one term lots of
ti