You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/04/17 19:25:29 UTC

[Solr Wiki] Trivial Update of "SchemaXml" by YonikSeeley

Dear Wiki user,

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

The following page has been changed by YonikSeeley:
http://wiki.apache.org/solr/SchemaXml

------------------------------------------------------------------------------
  
  The default operator used by Solr's query parser ([http://incubator.apache.org/solr/docs/api/org/apache/solr/search/SolrQueryParser.html SolrQueryParser]) can be configured with <solrQueryParser defaultOperator="AND|OR"/>.  The default operator is "OR" if unspecified.
  
+ [[Anchor(copyField)]]
  === 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, but Solr will process the information in the "dest" field using the appropriate field type (and Analyzer if it's a !TextField).