FAQ

On Thursday 26 June 2008 15:09:44 java_is_everything wrote:
Hi all.

Is there a way to obtain the number of documents in the Lucene index
(2.0.0), having a particular term indexed, much like what we do in a
database ?
I suspect the normal way is a HitCollector which does nothing but increment a
counter for each hit.

BTW I hope you're not really running 2.0.0, as that is ancient.

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupjava-user @
categorieslucene
postedJun 26, '08 at 5:10a
activeJun 26, '08 at 5:24a
posts2
users2
websitelucene.apache.org

2 users in discussion

Java_is_everything: 1 post Daniel Noll: 1 post

People

Translate

site design / logo © 2022 Grokbase