Re: Retrieve field from docValues

2018-11-06 Thread Erick Erickson
default, > >> so > >> > > there > >> > > > > is no need to explicitly set it in schema.xml? > >> > > > > >> > > > Yes. > >> > > > > >> > > > > 2. With useDocValuesAsStored=true

Re: Retrieve field from docValues

2018-11-06 Thread Wei
eDocValuesAsStored=true is default, >> so >> > > there >> > > > > is no need to explicitly set it in schema.xml? >> > > > >> > > > Yes. >> > > > >> > > > > 2. With useDocValuesAsStored=

Re: Retrieve field from docValues

2018-11-06 Thread Erick Erickson
useDocValuesAsStored=true is default, so > > > > there > > > > > > is no need to explicitly set it in schema.xml? > > > > > > > > > > Yes. > > > > > > > > > > > 2. With useDocValuesAsStored=true and the f

Re: Retrieve field from docValues

2018-11-06 Thread Wei
> Yes. > > > > > > > > > 2. With useDocValuesAsStored=true and the following definition, > will > > > Solr > > > > > retrieve id from docValues instead of stored field? > > > > > > > > No. > > > > AFAIK, if you

Re: Retrieve field from docValues

2018-11-06 Thread Erick Erickson
t; > > No. > > > AFAIK, if you define both docValues="true" and stored="true" in your > > > schema, > > > Solr tries to retrieve stored value. > > > (Except using streaming expressions or /export handler etc... > > > See: > > >

Re: Retrieve field from docValues

2018-11-06 Thread Wei
rue" and stored="true" in your > > schema, > > Solr tries to retrieve stored value. > > (Except using streaming expressions or /export handler etc... > > See: > > > https://lucene.apache.org/solr/guide/6_6/docvalues.html#DocValues-EnablingDocValues > > )

Re: Retrieve field from docValues

2018-11-06 Thread Erick Erickson
> 2018年11月6日(火) 9:54 Wei : > > > Hi, > > > > I have a few questions about using the useDocValuesAsStored option to > > retrieve field from docValues: > > > > 1. For schema version 1.6, useDocValuesAsStored=true is default, so there > > is no need to explicitly s

Re: Retrieve field from docValues

2018-11-06 Thread Yasufumi Mizoguchi
11月6日(火) 9:54 Wei : > Hi, > > I have a few questions about using the useDocValuesAsStored option to > retrieve field from docValues: > > 1. For schema version 1.6, useDocValuesAsStored=true is default, so there > is no need to explicitly set it in schema.xml? > > 2.

Retrieve field from docValues

2018-11-05 Thread Wei
Hi, I have a few questions about using the useDocValuesAsStored option to retrieve field from docValues: 1. For schema version 1.6, useDocValuesAsStored=true is default, so there is no need to explicitly set it in schema.xml? 2. With useDocValuesAsStored=true and the following definition, will