lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From saisantoshi <>
Subject RE: weight, Filter filter, HitCollector results) is not there in 4.0 version
Date Wed, 23 Jan 2013 00:00:34 GMT

Can we use the following method in 4.0 as a replacement for the above
method? However, we will rewrite this to use FilteredQuery later but don't
want to refactor a lot.

public void search(Query query,
          Filter filter,
          Collector results)
            throws IOException,,

In this way, I can pass the native query (instead of the weight) and pass in
the filter and a TopDocsCollector instance.


View this message in context:
Sent from the Lucene - Java Users mailing list archive at

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

View raw message