On Fri, Mar 4, 2011 at 1:18 PM, Patrick Diviacco
<[email protected]> 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
setSimilarityProvider().
I recommend reading CHANGES.txt, MIGRATE.txt, and the javadocs, where
this is all documented.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to