lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Shalyminov <>
Subject Getting the number of all hits for the SpanQuery
Date Thu, 31 Jan 2013 16:14:46 GMT

I want to perform a SpanQuery and get the precise overall number of all hits throughout the
entire index (i.e. if the query words combination appears multiple times in a document, I
need that number counted).
I've found a method called SpanQuery.getSpans, but the way of using it in the stable release
is somewhat changed (using it with just an IndexReader doesn't seem to be possible).

What is the way to do this now?

Best Regards,
Igor Shalyminov

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

View raw message