lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject Re: Lucene nightly build: similarity score per field
Date Fri, 04 Mar 2011 18:57:46 GMT
On Fri, Mar 4, 2011 at 1:18 PM, Patrick Diviacco
<> wrote:
> So far, I know I can customize the similarity class for the searcher:
> searcher.setSimilarity(new BoostingSimilarity());

This is not correct.. have you read the javadocs?

IndexSearcher doesn't have a setSimilarity() anymore, it has
I recommend reading CHANGES.txt, MIGRATE.txt, and the javadocs, where
this is all documented.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message