Question

I am facing the strange behavior with solr insertion. Newly added documents never reflected in index. i have to restart the solr app instance in glassfish server to get the updates. This is happening all the time. Initially i was using lucene and it was fine.

i am not sure what messed up here, i verified everything and it seems ok. But i want to know is this how solr functions, like it takes some time to update the index after the new insert. Because it never reflected in index after long times(just 10 docs).

has anyone got an idea how to fix this?

Update: I am using rsolr ruby wrapper for connecting to solr

Was it helpful?

Solution

Commit after making changes to the index. Here's how to do it in rsolr.

Alternatively, set up autoCommit.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top