lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SchemaXml" by PaulLibbrecht
Date Tue, 08 Feb 2011 10:35:00 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SchemaXml" page has been changed by PaulLibbrecht.
http://wiki.apache.org/solr/SchemaXml?action=diff&rev1=41&rev2=42

--------------------------------------------------

  === Copy Fields ===
  Any number of `<copyField>` declarations can be included in your schema, to instruct
Solr that you want it to duplicate any data it sees in the "source" field of documents that
are added to the index, in the "dest" field of that document.  You are responsible for ensuring
that the datatypes of the fields are compatible. The original text is sent from the "source"
field to the "dest" field, before any configured analyzers for the originating or destination
field are invoked.
  
- This is provided as a convenient way to ensure that data is put into several fields, without
needing to include the data in the update command multiple times. The maxChars property may
be used in a copyField declaration.   This simply limits the number of characters copied.
 For example:
+ This is provided as a convenient way to ensure that data is put into several fields, without
needing to include the data in the update command multiple times. The copy is done at the
stream source level and no copy feeds into another copy. The maxChars property may be used
in a copyField declaration.   This simply limits the number of characters copied.  For example:
  
  {{{
   <copyField source="body" dest="teaser" maxChars="300"/>

Mime
View raw message