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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to