I did move out the commit in a separate thread, and using SearchManager
refreshing the reader every 2 seconds if required.
Did some testing publishing a single document in each test. (there are a
combination of addDocument and updateDocument) happening.
Following are the tests we ran (Below are
In case of sorting, updatable DocValues may be what you are looking for.
But updatable fields for searching is a different beast.
A sample approach is documented at
http://www.flax.co.uk/blog/2012/06/22/updating-individual-fields-in-lucene-with-a-redis-backed-codec/
The general problems with upd
Thanks Ravi, it is good to know general problem with updatable field. In
our use-case where we have few fields which update more frequently then
main index. We are using this SOLR join contrib patch with DocTransformer
for returning data from join core. But this approach has some performance
impact