lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Herlitz <daniel.herl...@pricerunner.com>
Subject Count unique occurrences in hits
Date Thu, 09 Dec 2004 09:56:31 GMT
I have done a Lucene search and want to know the number of unique terms 
for a field (indexed) in the result. For example I have searched for a 
book title and want to know the number of authors (single terms) 
represented in the result.

Is there any way of doing this without having to scan through all the hits?

Thanks
Daniel Herlitz

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


Mime
View raw message