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 FuadEfendi:
http://wiki.apache.org/solr/SchemaXml?action=diff&rev1=66&rev2=67

Comment:
Documented effect of version attribute on schema root-node

  
  See the 
[[http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml?view=markup|example
 schema]], SpatialSearch and CurrencyField for more info on using these field 
types.
  
+ === Schema version attribute in the root node ===
+ 
+ For the up-to-date documentation, see example 
[[http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml?view=markup|example
 schema]] shipped with Solr 
+ 
+ {{{
+ <schema name="example" version="1.5">
+   <!-- attribute "name" is the name of this schema and is only used for 
display purposes.
+        version="x.y" is Solr's version number for the schema syntax and 
+        semantics.  It should not normally be changed by applications.
+ 
+        1.0: multiValued attribute did not exist, all fields are multiValued 
+             by nature
+        1.1: multiValued attribute introduced, false by default 
+        1.2: omitTermFreqAndPositions attribute introduced, true by default 
+             except for text fields.
+        1.3: removed optional field compress feature
+        1.4: autoGeneratePhraseQueries attribute introduced to drive 
QueryParser
+             behavior when a single string produces multiple tokens.  Defaults 
+             to off for version >= 1.4
+        1.5: omitNorms defaults to true for primitive field types 
+             (int, float, boolean, string...)
+      -->
+ }}}
+ 
+ See also 
[[http://www.myjeeva.com/2012/12/upgrade-migrate-solr-3x-to-solr-4/|Upgrade / 
Migrate Solr 3.x to Solr 4]]
+ 
  === TODO ===
   * Perhaps make a DTD for the schema.
   * Talk about omitNorms and positionIncrementGap wrt text fields
   * check whether defaultSearchField is also used by the DisMaxRequestHandler 
and not only by the StandardRequestHandler
-  * Document effect of version attribute on schema root-node?
  

Reply via email to