Hi all, add solr document with overwrite=false will keepping multi version documents, My question is : 1. How to search newest documents?with what options? 2. How to delete old version < newest version documents?
for example: { "id":"1002", "name":["james"], "_version_":1611998319085617152, "name_str":["james"]}, { "id":"1002", "name":["lily"], "_version_":1611998307815522304, "name_str":["lily"]}, { "id":"1002", "name":["lucy"], "_version_":1611998248265842688, "name_str":["lucy"]}] 1. curl http://localhost:8983/solr/collection001/query?q=*:* return all , how to search to make response return the newest one? 2. how to delete document of version [1611998307815522304,1611998248265842688] , which is older then 1611998319085617152.