lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: per-field similarity
Date Wed, 25 Jun 2008 18:19:39 GMT

: 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?  (where in both cases 
we are talking about an instance method and not a static method)

There's been some discussions about this in the past, I think at one point 
Doug suggested almost the exact same thing in this thread... could probably be done in a completley backwards compatible way.


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

View raw message