Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atomicUpdate does not reflect in the document immediately #205

Open
ankitkhedekar opened this issue Sep 3, 2017 · 3 comments
Open

atomicUpdate does not reflect in the document immediately #205

ankitkhedekar opened this issue Sep 3, 2017 · 3 comments

Comments

@ankitkhedekar
Copy link

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.

@thatbudakguy
Copy link

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.

@manigk
Copy link

manigk commented Dec 7, 2017

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

@rashadkk
Copy link

rashadkk commented Jan 14, 2020

autoCommit is not working it seems.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants