The most likely explanation is simply that your filter doesn't match any docs that do match your query.
See also http://wiki.apache.org/lucene-java/LuceneFAQ#Why_am_I_getting_no_hits_.2BAC8_incorrect_hits.3F -- Ian. On Thu, Sep 13, 2012 at 8:19 AM, <sdr...@sina.com> wrote: > Hi, problems with the Fliter instance on version 3.6.1. > When add an instance of Filter as a parameter on the IndexSearcher.search() > method, like search(query, filter, n)it gets no result, for which without the > filter param could show several hit result docs previously. > I searched through google, yahoo, duckgogo, and get few examples on > demonstration. > How do you guys use it ? --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org