Closed buchi closed 5 years ago
autoCommit
is already enabled in our solrconfig.xml
. Currently we have a maxTime
of 15s. I'm thinking about increasing that to 60s.
@buchi right, I see - I thought I checked but somehow didn't spot that. +1 for increasing to 60s. As long as hard commits happen occasionally, I think durability of writes is not that critical in our scenario, since 100% of the data in Solr is derived.
Perform soft commit on update. This make documents available for search almost immediately after being indexed. However changes are not yet saved to disk. Thus regular hard commits must be ensured by enabling autocommit.
The metadata of files is now indexed the same way as other content types to make them visible as soon as possible. They get indexed again using the extracting request handler which also indexes the blob data. This means that file metadata gets indexed twice because the extracting request handler does not support atomic updates.