mirror of https://github.com/apache/lucene.git
SOLR-9449: Example schemas do not index _version_ field anymore because the field has DocValues enabled already
This commit is contained in:
parent
b1b933eb43
commit
738d52700a
|
@ -94,6 +94,9 @@ Optimizations
|
|||
|
||||
* SOLR-9374: Speed up Jmx MBean retrieval for FieldCache. (Tim Owen via shalin)
|
||||
|
||||
* SOLR-9449: Example schemas do not index _version_ field anymore because the field
|
||||
has DocValues enabled already. (shalin)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -118,7 +118,8 @@
|
|||
If you don't need it, consider removing it and the corresponding copyField directive.
|
||||
-->
|
||||
<field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" />
|
||||
<field name="_version_" type="long" indexed="true" stored="false"/>
|
||||
<!-- doc values are enabled by default for primitive types such as long so we don't index the version field -->
|
||||
<field name="_version_" type="long" indexed="false" stored="false"/>
|
||||
<field name="_root_" type="string" indexed="true" stored="false" docValues="false" />
|
||||
<field name="_text_" type="text_general" indexed="true" stored="false" multiValued="true"/>
|
||||
|
||||
|
|
|
@ -118,7 +118,8 @@
|
|||
If you don't need it, consider removing it and the corresponding copyField directive.
|
||||
-->
|
||||
<field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" />
|
||||
<field name="_version_" type="long" indexed="true" stored="false"/>
|
||||
<!-- doc values are enabled by default for primitive types such as long so we don't index the version field -->
|
||||
<field name="_version_" type="long" indexed="false" stored="false"/>
|
||||
<field name="_root_" type="string" indexed="true" stored="false" docValues="false" />
|
||||
<field name="_text_" type="text_general" indexed="true" stored="false" multiValued="true"/>
|
||||
|
||||
|
|
|
@ -112,7 +112,8 @@
|
|||
<!-- If you remove this field, you must _also_ disable the update log in solrconfig.xml
|
||||
or Solr won't start. _version_ and update log are required for SolrCloud
|
||||
-->
|
||||
<field name="_version_" type="long" indexed="true" stored="false" />
|
||||
<!-- doc values are enabled by default for primitive types such as long so we don't index the version field -->
|
||||
<field name="_version_" type="long" indexed="false" stored="false"/>
|
||||
|
||||
<!-- points to the root document of a block of nested documents. Required for nested
|
||||
document support, may be removed otherwise
|
||||
|
|
Loading…
Reference in New Issue