lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Debraj Manna <subharaj.ma...@gmail.com>
Subject Re: Getting a document version back after updating
Date Sat, 12 Dec 2015 16:35:29 GMT
I was thinking if it is possible to get the version without making one more
extra call getById. Can I get that as part of the update response when I am
updating or adding a new document?
On Dec 12, 2015 3:28 PM, "Shalin Shekhar Mangar" <shalinmangar@gmail.com>
wrote:

> You will have to request a real-time-get with the unique key of the
> document you added/updated. In Solr 5.1+ you can go
> client.getById(String id) to get this information.
>
> On Sat, Dec 12, 2015 at 10:19 AM, Debraj Manna <subharaj.manna@gmail.com>
> wrote:
> > Is there a way I can get the version of a document back in response after
> > adding or updating the document via Solrj 5.2.1?
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message