Did you look in the example schema files? None of them have
_version_ set as docValues.
Best,
Erick
On Tue, Jun 16, 2015 at 1:44 AM, forest_soup tanglin0...@gmail.com wrote:
For the _version_ field in the schema.xml, do we need to set it be
docValues=true?
field name=_version_ type=long
: For the _version_ field in the schema.xml, do we need to set it be
: docValues=true?
you *can* add docValues, but it is not required.
There is an open discussion about wether we should add docValues to
the _version_ field (or even switch completely to indexed=false) in this
jira...
For the _version_ field in the schema.xml, do we need to set it be
docValues=true?
field name=_version_ type=long indexed=true stored=true/
As we noticed there are FieldCache for _version_ in the solr stats:
http://lucene.472066.n3.nabble.com/file/n4212123/IMAGE%245A8381797719FDA9.jpg
--