I have stored multiple objects with the values;
uniqueUri
name
timestamp.
There can be multiple object with the same name, but they will have
different timestamps (and different uniqueUri)
I want to retrieve the object of a given name with the latest timestamp. As
an example I might have
1. uniqueUri=99661, name=FOO, timestamp=1355174089270
2. uniqueUri=98765, name=FOO, timestamp=1355174089870
I want to retrieve only object 2.
I have tried retrieving 1 row and sorting DECENDING on timestamp, but this
still returns the first object.
How can I do this?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Retrieving-one-object-tp4025810.html
Sent from the Solr - User mailing list archive at Nabble.com.