lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantyn Smirnov <inject...@yahoo.com>
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

//pseudo-code
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: http://lucene.472066.n3.nabble.com/Lucene-Document-Uniqueness-question-tp3986743p3987920.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

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


Mime
View raw message