On Wed, Jun 25, 2008 at 2:19 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > : Might also consider passing in more optional context when retrieving > : the similarity for a field (such as a Query, if searching). > : Something like Similarity.getSimilarity(String field, Query q). > > i assume you mean "Searcher.getSimilarity(String fieldName, Query q)" to > replace the current Searcher.getSimilarity() right?
No, I meant Similarity (it's more like a factory method on the Similarity class). The Searcher.getSimilarity() could remain unchanged. A Similarity is what is passed into the IndexWriter, and you would want the same per-field flexibility there. > (where in both cases > we are talking about an instance method and not a static method) Right. -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]