SOLR-7290: Rename catchall _text field in data_driven_schema_configs to _text_

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2015-04-04 00:51:43 +00:00
parent 474b304f37
commit a4be57c1a1
3 changed files with 12 additions and 7 deletions

View File

@ -129,7 +129,9 @@ Upgrading from Solr 5.0
* Tika's runtime dependency of 'jhighlight' was removed as the latter was found to
contain some LGPL-only code. Until that's resolved by Tika, you can download the
.jar yourself and place it under contrib/extraction/lib.
.jar yourself and place it under contrib/extraction/lib.
* The _text catch-all field in data_driven_schema_configs has been renamed to _text_.
Detailed Change List
----------------------
@ -488,6 +490,9 @@ Other Changes
* SOLR-7202: Remove deprecated string action types in Overseer and OverseerCollectionProcessor -
"deletecollection", "createcollection", "reloadcollection", "removecollection", "removeshard".
(Varun Thacker, shalin)
* SOLR-7290: Rename catchall _text field in data_driven_schema_configs
to _text_ (Steve Rowe)
================== 5.0.0 ==================

View File

@ -106,20 +106,20 @@
-->
<!-- In this data_driven_schema_configs configset, only three fields are pre-declared:
id, _version_, and _text. All other fields will be type guessed and added via the
id, _version_, and _text_. All other fields will be type guessed and added via the
"add-unknown-fields-to-the-schema" update request processor chain declared
in solrconfig.xml.
Note that many dynamic fields are also defined - you can used them to specify a
field's type via field naming conventions - see below.
WARNING: The _text catch-all field will significantly increase your index size.
WARNING: The _text_ catch-all field will significantly increase your index size.
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="true"/>
<field name="_text" type="text_general" indexed="true" stored="false" multiValued="true"/>
<copyField source="*" dest="_text"/>
<field name="_text_" type="text_general" indexed="true" stored="false" multiValued="true"/>
<copyField source="*" dest="_text_"/>
<!-- Dynamic field definitions allow using convention over configuration

View File

@ -868,7 +868,7 @@
<initParams path="/update/**,/query,/select,/tvrh,/elevate,/spell,/browse">
<lst name="defaults">
<str name="df">_text</str>
<str name="df">_text_</str>
</lst>
</initParams>
@ -889,7 +889,7 @@
<lst name="defaults">
<str name="lowernames">true</str>
<str name="fmap.meta">ignored_</str>
<str name="fmap.content">_text</str>
<str name="fmap.content">_text_</str>
</lst>
</requestHandler>