Reputation: 8505
We do bulk updates to Solr index. We have configured warmup queries in solrconfig.xml under newSearcher and firstSearcher to populate the fieldValueCache. My questions are:-
Upvotes: 1
Views: 815
Reputation: 9789
The cache is invalidated on commit. And until you commit (manually or with auto-settings), you will not see your documents.
So, if you do bulk updates, you should remove the AutoCommit sections from solrconfig.xml and do manual commit at the end of the bulk update. Of course, if you send all 200 documents in one big XML, it will also be ok even with auto-commit.
Upvotes: 1