mirror of https://github.com/apache/lucene.git
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:
parent
680a0013e6
commit
6f4075377c
|
@ -510,6 +510,9 @@ Other Changes
|
||||||
|
|
||||||
38. SOLR-1215 use double quotes to enclose attributes in solr.xml (noble)
|
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
|
Build
|
||||||
----------------------
|
----------------------
|
||||||
1. SOLR-776: Added in ability to sign artifacts via Ant for releases (gsingers)
|
1. SOLR-776: Added in ability to sign artifacts via Ant for releases (gsingers)
|
||||||
|
|
|
@ -435,10 +435,18 @@
|
||||||
<copyField source="manu" dest="text"/>
|
<copyField source="manu" dest="text"/>
|
||||||
<copyField source="features" dest="text"/>
|
<copyField source="features" dest="text"/>
|
||||||
<copyField source="includes" 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="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.
|
<!-- Similarity is the scoring routine for each document vs. a query.
|
||||||
A custom similarity may be specified here, but the default is fine
|
A custom similarity may be specified here, but the default is fine
|
||||||
|
|
Loading…
Reference in New Issue