Normally you'd create a NumericRangeFilter/Query and just use that? Under the hood, Lucene uses that protected API to visit all matching terms...
Mike McCandless http://blog.mikemccandless.com On Thu, Sep 26, 2013 at 9:59 AM, Chet Vora <chetv...@gmail.com> wrote: > Hi all > > I was trying to use the above enum to do some range search on dates... this > enum is returned by NumericRangeQuery.getTermsEnum() but I realized that > this is a protected method of the class and since this is a final class, I > can't see how I can use it. Maybe I'm missing something ? > > Would appreciate any pointers. > > Thanks > > CV --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org