this will at least tell you the max/min versionId... right now it
only works with numeric values, so it won't help for timestamp.
ryan
--
View this message in context:
http://www.nabble.com/Retrieve-documents-that-contain-max-value-for-a-field-tp21175643p21203697.html
Sent from the Solr
We want to write a single query where the query returns doc1_1,
doc2_2 and
so on...that is for documents that have the same id, we want the
query to
return the document with highest versionId or the latest timestamp.
Any thoughts how this can be done?
not exactly what you are asking
:
http://www.nabble.com/Retrieve-documents-that-contain-max-value-for-a-field-tp21175643p21175643.html
Sent from the Solr - User mailing list archive at Nabble.com.
Message
From: Sushil Vegad vsus...@serebrum.com
To: solr-user@lucene.apache.org
Sent: Friday, December 26, 2008 11:25:10 AM
Subject: Retrieve documents that contain max value for a field
Hi,
Can someone please help with how to write a query for the following
scenario?
We index