How can I filter resent data from matched result by grouping date field

for example
I annote my entity as follows
hsno column for
@Field(index=Index.YES, analyze=Analyze.YES, store=Store.YES)

date column for
@Field(index = Index.YES, analyze=Analyze.NO, store = Store.YES)

kor column for
@Field(index=Index.YES, analyze=Analyze.YES, store=Store.NO)

and I have result from keyword search

hsno    date
-----------------
12345    2017-01-01  
12345    2018-03-01
123456  2017-01-01
123456  2018-01-01

from the above result
I only want recent result grouping by hsno as follows

12345    2018-03-01
123456  2018-01-01




--
Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html

---------------------------------------------------------------------
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