lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael D. Curtin" <>
Subject Re: search problem
Date Tue, 28 Feb 2006 13:15:57 GMT
Anton Potehin wrote:

> I have a problem. 
> There is an index, which contains about 6,000,000 records (15,000,000
> will be soon) the size is 4GB. Index is optimized and consists of only
> one segment. This index stores the products. Each product has brand,
> price and about 10 more additional fields. I want to not just find
> something in the index also I want to get the lists of all brands and
> price. The list of brands is needed for displaying all of the products
> and the quantity of products of this brand for certain search request.
> ...

Try using IndexReader.terms() to enumerate over all the values in the index 
for a given field.  Should be a LOT faster.

Good luck!


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

View raw message