solr-node-client icon indicating copy to clipboard operation
solr-node-client copied to clipboard

atomicUpdate does not reflect in the document immediately

Open ankitkhedekar opened this issue 7 years ago • 3 comments

I am trying to update a solr document using atomicUpdate , it does not give me any error but when I check it from the solr admin panel I still see that the document has the old value. It reflects the new value only after manually reloading the core. I am also setting the autoCommit flag on the solr client as true

Want to know of the possible mistakes in my approach.

ankitkhedekar avatar Sep 03 '17 14:09 ankitkhedekar

I think this is just autoCommit not working - see #127 . I'm having similar problems with all my update() calls.

The response on that issue was:

autoCommit now only works as a functions

But I don't understand what that means. Is there some other way to use autoCommit? The only places I see it used are in the examples.

thatbudakguy avatar Sep 08 '17 23:09 thatbudakguy

I have same problem Client.autoCommit() not working, i'm using solr-cloud 5.5.2 and node v5.0.0. please give solution.

manigk avatar Dec 07 '17 14:12 manigk

autoCommit is not working it seems.

But we can commit the changes after update as below client.commit()

rashadkk avatar Jan 14 '20 07:01 rashadkk