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 FredrikRodland
Date Wed, 06 Mar 2013 09:47:28 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 FredrikRodland:
http://wiki.apache.org/solr/SchemaXml?action=diff&rev1=67&rev2=68

  === Recommended fields ===
  While these fields aren't strictly mandatory (Solr will run if you remove them fully), Bad
Things happen in some situations if they aren't defined. We recommend that you leave these
fields alone. If you don't use them, there's no appreciable penalty.
   * id - Almost all Solr installations have this field defined as the <uniqueKey> (see
below). 
-  * _version_ <!> [[Solr4]] - This field is used for optimistic locking in [[http://wiki.apache.org/solr/SolrCloud|SolrCloud]]
and it enables [[http://wiki.apache.org/solr/RealTimeGet|Real Time Get]]. If you remove it
you must also remove the transaction logging from solrconfig.xml, see [[http://wiki.apache.org/solr/RealTimeGet|Real
Time Get]].
+  * _version_ <!> [[Solr4.0]] - This field is used for optimistic locking in [[http://wiki.apache.org/solr/SolrCloud|SolrCloud]]
and it enables [[http://wiki.apache.org/solr/RealTimeGet|Real Time Get]]. If you remove it
you must also remove the transaction logging from solrconfig.xml, see [[http://wiki.apache.org/solr/RealTimeGet|Real
Time Get]].
  
  === Common field options ===
  Common options that fields can have are...
@@ -69, +69 @@

    * To use interactively, requires [[TermVectorComponent]]
    * Corresponds to TV button in Luke, and V field attribute.
   * `omitTermFreqAndPositions=true|false` <!> [[Solr1.4]]
-   * If set, omit term freq, positions and [[Payloads|payloads]] from postings for this field.
This can be a performance boost for fields that don't require that information and reduces
storage space required for the index. Queries that rely on position that are issued on a field
with this option will silently fail to find documents.
+   * If set, omit term freq, positions and [[Payloads|payloads]] from postings for this field.
This can be a performance boost for fields that don't require that information and reduces
storage space required for the index. Queries that rely on position that are issued on a field
with this option fail with an exception.  Prior to <!> [[Solr4.0]] the queries would
silently fail to find documents.
+ 
   * `omitPositions=true|false` <!> [[Solr3.4]]
    * If set, omits positions, but keeps term frequencies
  

Mime
View raw message