lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken McCracken <ken.mccrac...@gmail.com>
Subject setting Similarity at search time
Date Mon, 15 Nov 2004 19:31:06 GMT
Hi,

Is there a way to set the Similarity at search(...) time, rather than
just setting it on the (Index)Searcher object itself?  I'd like to be
able to specify different similarities in different threads searching
concurrently, using the same IndexSearcher instance.

In my use case, the choice of Similarity is a parameter of the search
request, and hence may be different for each request.

Can such a method be added to override the search(...) method?

Thanks,
-Ken

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message