Add _display field that is stored, but not indexed

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@520435 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2007-03-20 15:41:06 +00:00
parent 55106b5b38
commit 22305abbd1
1 changed files with 2 additions and 0 deletions

View File

@ -195,6 +195,7 @@
<dynamicField name="*_facet" type="string" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="*_zh_text" type="text_zh" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="*_text" type="text" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="*_display" type="text" indexed="false" stored="true" multiValued="true"/>
</fields>
<!-- field to use to determine and enforce document uniqueness. -->
@ -210,6 +211,7 @@
is added to the index. It's used either to index the same field differently,
or to add multiple fields to the same field for easier/faster searching. -->
<copyField source="*_text" dest="text"/>
<copyField source="*_facet" dest="text"/>
<!-- Similarity is the scoring routine for each document vs. a query.
A custom similarity may be specified here, but the default is fine