> Did not work, > > I am using my own Similarity and the coord method is not > called, because the > disableCoord variable is set to true from FuzzyQuery > > > public Similarity getSimilarity(Searcher searcher) { > Similarity result = > super.getSimilarity(searcher); > if (disableCoord) { > > // disable coord as > requested > result = new > SimilarityDelegator(result) { > public float coord(int > overlap, int maxOverlap) { > return 1.0f; > } > }; > } > return result; > }
What is the version of Lucene you are using? --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org