lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Re: Settings for DocValues
Date Wed, 24 Aug 2016 03:42:48 GMT
Hi Erick,

Thanks for the explanation.

Regards,
Edwin


On 24 August 2016 at 02:27, Erick Erickson <erickerickson@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
> <edwinyeozl@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message