what about UpdateRequest().getParam().add("versions","true") ?
On Mon, Dec 14, 2015 at 1:15 PM, Debraj Manna
wrote:
> Is there any seperate api available in solrj 5.2.1 for setting version=true
> while adding or updating a solr doc?
> On Dec 13, 2015 8:03 AM, "Debraj Manna" wrote:
>
> > Thanks
Is there any seperate api available in solrj 5.2.1 for setting version=true
while adding or updating a solr doc?
On Dec 13, 2015 8:03 AM, "Debraj Manna" wrote:
> Thanks Alex. This is what I was looking for. One more query how to set
> this from solrj while calling add() ? Do I have to make a curl
Thanks Alex. This is what I was looking for. One more query how to set this
from solrj while calling add() ? Do I have to make a curl call with this
param set?
On Dec 13, 2015 12:53 AM, "Shalin Shekhar Mangar"
wrote:
> Oh yes, I had forgotten about that! Thanks Alexandre!
>
> On Sat, Dec 12, 2015
Oh yes, I had forgotten about that! Thanks Alexandre!
On Sat, Dec 12, 2015 at 11:57 PM, Alexandre Rafalovitch
wrote:
> Does "versions=true" flag match what you are looking for? It is
> described towards the end of:
> https://cwiki.apache.org/confluence/display/solr/Updating+Parts+of+Documents#Upd
Does "versions=true" flag match what you are looking for? It is
described towards the end of:
https://cwiki.apache.org/confluence/display/solr/Updating+Parts+of+Documents#UpdatingPartsofDocuments-OptimisticConcurrency
Regards,
Alex.
Newsletter and resources for Solr beginners and intermedi
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"
wrote:
> You will have to request a real-time-get with the un
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 wrote:
> Is there a way I can get the version of a document back in response af
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?