Have a look at this https://solr.apache.org/guide/8_9/updating-parts-of-documents.html#optimistic-concurrency
Ciao, Vincenzo -- mobile: 3498513251 skype: free.dev > On 15 Oct 2021, at 07:01, krishna prasad <[email protected]> > wrote: > > I have a docs as follows: > > {docid:1,version:1} > {docid:1,version:2} > {docid:2,version:1} > {docid:2,version:2} > {docid:2,version:3} > {docid:3,version:1} > {docid:3,version:2} > > > I need to get all the docs which are of the latest version per each docid. > > o/p > > {docid:1,version:2} > {docid:2,version:3} > {docid:3,version:2} > > Can give some hints on how to do it.
