Re: Do we need to add docValues=true to _version_ field in schema.xml?

2015-06-16 Thread Erick Erickson
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

Re: Do we need to add docValues=true to _version_ field in schema.xml?

2015-06-16 Thread Chris Hostetter
: 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...

Do we need to add docValues=true to _version_ field in schema.xml?

2015-06-16 Thread forest_soup
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 --