lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: SweetSpotSimiliarity
Date Wed, 24 May 2006 18:33:26 GMT
Chris Hostetter wrote:
> certianly .. but it's not just TermQueries right ... PhraseQueries,
> SpanQueries .. lots of things use tf -- and even things like WildCardQuery
> would need to be subclasses, so when they rewrite to a collection of
> TermQueries, they propogate the information about what Similarity to use.

Might it work to instead change Searcher.getSimilarity to take a Query 
or field parameter?  Then one could add Searcher.setSimilarity(String 
field) method?


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

View raw message