Hi Erick,

Thanks for the explanation.

Regards,
Edwin


On 24 August 2016 at 02:27, Erick Erickson <erickerick...@gmail.com> wrote:

> These are orthogonal. The indexed and docvalues
> structures are very different. One is useful for
> searching and the other is useful for faceting and the like.
>
> If you set indexed="false" and docValues="true", then try
> to search on the field you roughly do a "table scan" which
> is very slow.
>
> Rule of thumb:
> If you're searching set indexed="true".
> If you're faceting/grouping/sorting set docValues="true".
>
> Best,
> Erick
>
> On Tue, Aug 23, 2016 at 8:14 AM, Zheng Lin Edwin Yeo
> <edwinye...@gmail.com> wrote:
> > Hi,
> >
> > Would like to find out, if we set docValues="true" in my configuration of
> > the fieldType in schema,xml, must we set the corresponding
> indexed="false"
> > and stored="false"
> >
> > Will there be any implication if I set my indexed="true and
> stored="true"?
> >
> > I'm using Solr 6.1.0
> >
> > Regards,
> > Edwin
>

Reply via email to