solr-node-client
solr-node-client copied to clipboard
atomicUpdate does not reflect in the document immediately
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.
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.
I have same problem Client.autoCommit() not working, i'm using solr-cloud 5.5.2 and node v5.0.0. please give solution.
autoCommit
is not working it seems.
But we can commit the changes after update as below
client.commit()