SOLR-1151: add dynamic copy field and maxChars example to example schema.xml.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@786105 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2009-06-18 15:07:56 +00:00
parent 680a0013e6
commit 6f4075377c
2 changed files with 12 additions and 1 deletions

View File

@ -510,6 +510,9 @@ Other Changes
38. SOLR-1215 use double quotes to enclose attributes in solr.xml (noble)
39. SOLR-1151: add dynamic copy field and maxChars example to example schema.xml.
(Peter Wolanin, Mark Miller)
Build
----------------------
1. SOLR-776: Added in ability to sign artifacts via Ant for releases (gsingers)

View File

@ -435,10 +435,18 @@
<copyField source="manu" dest="text"/>
<copyField source="features" dest="text"/>
<copyField source="includes" dest="text"/>
<!-- Above, multiple source fields are copied to the [text] field.
Another way to map multiple source fields to the same
destination field is to use the dynamic field syntax.
copyField also supports a maxChars to copy setting. -->
<!-- <copyField source="*" dest="text" maxChars="3000"/> -->
<copyField source="manu" dest="manu_exact"/>
<copyField source="name" dest="spell"/>
<copyField source="name" dest="spell"/>
<!-- Similarity is the scoring routine for each document vs. a query.
A custom similarity may be specified here, but the default is fine