On Fri, Mar 4, 2011 at 1:18 PM, Patrick Diviacco <patrick.divia...@gmail.com> 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: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org