lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Williams" <ch...@manawiz.com>
Subject RE: setting Similarity at search time
Date Mon, 15 Nov 2004 21:05:36 GMT
Take a look at this:

http://issues.apache.org/bugzilla/show_bug.cgi?id=31841

Not my initial patch, but the latest patch from Wolf Siberski.  I
haven't used it yet, but it looks like what you are looking for, and
something I want to use too.

Chuck

  > -----Original Message-----
  > From: Ken McCracken [mailto:ken.mccracken@gmail.com]
  > Sent: Monday, November 15, 2004 11:31 AM
  > To: Lucene Users List
  > Subject: setting Similarity at search time
  > 
  > 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


---------------------------------------------------------------------
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