Would adding the docValues in the schema, but not reindexing, cause errors? IE, only apply the doc values after the next reindex, but in the meantime keep functioning as there were none until then?
On Fri, Oct 26, 2018 at 2:15 PM Toke Eskildsen <t...@kb.dk> wrote: > Sofiya Strochyk <s...@interlogic.com.ua> wrote: > > 5. Yes, docValues are enabled for the fields we sort on > > (except score which is an internal field); [...] > > I am currently working on > https://issues.apache.org/jira/browse/LUCENE-8374 > which speeds up DocValues-operations for indexes with many documents. > > What "many" means is hard to say, but as can be seen in the JIRA, Tim > Underwood sees a nice speed up for faceting with his 80M doc index. > Hopefully it can also benefit your 40M doc (per shard) index with sorting > on (I infer) multiple DocValued fields. I'd be happy to assist, should you > need help with the patch. > > - Toke Eskildsen >