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/10/25 00:39:35 UTC
[Solr Wiki] Trivial Update of "SchemaXml" by ChrisHarris
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 ChrisHarris:
http://wiki.apache.org/solr/SchemaXml
The comment on the change is:
+Separate section/heading for "Common field options"
------------------------------------------------------------------------------
== Fields ==
- The `<fields>` section is where you list the individual `<field>` declarations you wish to use in your documents. Each `<field>` has a `name` that you will use to reference it when adding documents or executing searches, and an associated `type` which identifies the name of the fieldtype you wish to use for this field. Individual fields can override the various options (indexed, stored, etc...) that they inherit from their fieldtype.
+ The `<fields>` section is where you list the individual `<field>` declarations you wish to use in your documents. Each `<field>` has a `name` that you will use to reference it when adding documents or executing searches, and an associated `type` which identifies the name of the fieldtype you wish to use for this field. There are various field options that apply to a field. These can be set in the field type declarations, and can also be overridden at an individual field's declaration.
+ === Common field options ===
+
- Common options that fields can have are...
+ Common options that fields can have are...
- * `indexed=true|false`
+ * `indexed=true|false`
- * `stored=true|false`
+ * `stored=true|false`
- * `compressed=true|false`
+ * `compressed=true|false`
- * `compressThreshold=<integer>`
+ * `compressThreshold=<integer>`
- * `multiValued=true|false`
+ * `multiValued=true|false`
- * `omitNorms=true|false`
+ * `omitNorms=true|false`
See also FieldOptionsByUseCase, which discusses how these options should be set in various circumstances. See SolrPerformanceFactors for how different options can affect Solr performance.