Thanks everyone! I checked the system metrics during the optimization process. CPU usage is quite low, there is no I/O wait, and memory usage is not much different from before the docValues change. So I wonder what could be the bottleneck.
Thanks, Wei On Sat, Nov 3, 2018 at 1:38 PM Erick Erickson <erickerick...@gmail.com> wrote: > Going from my phone so it'll be terse. See uninvertingmergeuodateprocessor > (or something like that). Also, there's an idea in SOLR-12259 IIRC, but > that'll be in 7.6 at the earliest. > > On Sat, Nov 3, 2018, 07:13 Shawn Heisey <apa...@elyograg.org wrote: > > > On 11/3/2018 5:32 AM, Dave wrote: > > > On a side note, does adding docvalues to an already indexed field, and > > then optimizing, prevent the need to reindex to take advantage of > > docvalues? I was under the impression you had to reindex the content. > > > > You must reindex when changing the schema to add docValues. An optimize > > will not build the new data structures. It will only rebuild the data > > structures that are already there. > > > > Thanks, > > Shawn > > > > >