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 for, but check:
http://wiki.apache.org/solr/StatsComponent

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

Reply via email to