lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantyn Smirnov <>
Subject Re: Lucene Document Uniqueness question
Date Wed, 06 Jun 2012 08:07:07 GMT
you can use aggregation for that.

dump a collection of prices as a field with multiple values into a document

def doc = new Document(...)
doc.add new Field( 'id', id )
doc.add new Field( 'price', price1 )
doc.add new Field( 'price', price2 )
doc.add new Field( 'price', price3 )
indexWriter.addDocument doc

View this message in context:
Sent from the Lucene - Java Users mailing list archive at

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

View raw message