After chatting with Adrien about this and how the code works, I'll defer to his greater knowledge. On 04/03/2015 9:04 pm, "Adrien Grand" <[email protected]> wrote:
> Unfortunately, doc values cannot be added on an existing index. However it > would work if you have eg. daily indices and change your index template so > that new indices have doc values enabled. > > On the other hand, if you want to add doc values to an existing index, you > would need to reindex. > > On Wed, Mar 4, 2015 at 12:17 AM, Justin Zhu <[email protected]> wrote: > >> Would this start building the doc values structure for new documents >> indexed and not prior docs? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "elasticsearch" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/189c9ede-cd7f-408e-8bf2-08a858d452be%40googlegroups.com >> <https://groups.google.com/d/msgid/elasticsearch/189c9ede-cd7f-408e-8bf2-08a858d452be%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Adrien Grand > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j4-hATPP35%3DVf3JTxYOoa5TS8LssSUHnsbv6nzu2YvF_Q%40mail.gmail.com > <https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j4-hATPP35%3DVf3JTxYOoa5TS8LssSUHnsbv6nzu2YvF_Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_Ga%3Dh8cKS%2BbBztcG8N5QveK0%3DqM4e49LFPjZQXk79Phg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
