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 2012/06/02 15:59:58 UTC

[Solr Wiki] 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 "SchemaXml" page has been changed by YonikSeeley:
http://wiki.apache.org/solr/SchemaXml?action=diff&rev1=57&rev2=58

Comment:
add dynamic field matching rules

  {{{
      <dynamicField name="*_i"  type="integer"  indexed="true"  stored="true"/>
  }}}
+ 
+ The glob-like pattern in the name attribute must have a "*" only at the start or the end.
+ Longer patterns will be matched first.  if equal size patterns both match, the first appearing in the schema will be used. 
+ 
  === Indexing same data in multiple fields ===
  Note that, with textual data, it will often make sense to take what's logically speaking a single field (e.g. product name) and index it into several different Solr fields, each with different field options and/or analyzers.