Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: (qmail 99900 invoked from network); 1 Apr 2011 17:29:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2011 17:29:55 -0000 Received: (qmail 71928 invoked by uid 500); 1 Apr 2011 17:29:55 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 71900 invoked by uid 500); 1 Apr 2011 17:29:55 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 71893 invoked by uid 99); 1 Apr 2011 17:29:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 17:29:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 17:29:54 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 274A72D8; Fri, 1 Apr 2011 17:29:34 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Fri, 01 Apr 2011 17:29:34 -0000 Message-ID: <20110401172934.96841.45674@eos.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22SchemaXml=22_by_YonikSeeley?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for chan= ge notification. The "SchemaXml" page has been changed by YonikSeeley. The comment on this change is: fix broken links, de-clutter by moving out T= ODOs, remove JIRA references. http://wiki.apache.org/solr/SchemaXml?action=3Ddiff&rev1=3D44&rev2=3D45 -------------------------------------------------- The schema.xml file contains all of the details about which fields your d= ocuments can contain, and how those fields should be dealt with when adding= documents to the index, or when querying those fields. = A [[http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/conf/= schema.xml?view=3Dmarkup|sample Solr schema.xml with detailed comments]] ca= n be found in the Source Repository. - = - /!\ :TODO: /!\ we should try to make a DTD for the schema = <> = @@ -25, +23 @@ = `TextField`s can also support Analyzers with highly configurable [[Analyz= ersTokenizersTokenFilters|Tokenizers and Token Filters]]. = - /!\ :TODO: /!\ do omitNorms and positionIncrementGap have any meaning for= non !TextFields? - = Field types that store text (`TextField`, `StrField`) support compression= of stored contents: = * `compressed=3Dtrue|false` @@ -35, +31 @@ `compressThreshold` is the minimum length required for text compression t= o be invoked. This applies only if `compressed=3Dtrue`; a common pattern i= s to set `compressThreshold` on the field type definition, and turn compres= sion on and off in the individual field definitions. = =3D=3D=3D Poly Field Types =3D=3D=3D - /!\ Solr1.5 /!\ See https://issues.apache.org/jira/browse/SOLR-1131. Thi= s discusses uncommitted code. - = Some !FieldTypes can be "poly" field types. A Poly !FieldType is one tha= t can potentially create multiple Fields per "declared" field. The primary= example in Solr is the PointType. Depending on the dimension specified, o= ne or more Fields will be created. For example: = {{{ @@ -133, +127 @@ =3D=3D=3D The Default Search Field =3D=3D=3D The `` is used by Solr when parsing queries to identi= fy which field name should be searched in queries where an explicit field n= ame has not been used. = - /!\ :TODO: /!\ check whether this option is also used by the DisMaxReques= tHandler and not only by the StandardRequestHandler + = = =3D=3D=3D Default query parser operator =3D=3D=3D The default operator used by Solr's query parser ([[http://lucene.apache.= org/solr/docs/api/org/apache/solr/search/SolrQueryParser.html|SolrQueryPars= er]]) can be configured with .= The default operator is "OR" if unspecified. @@ -156, +150 @@ =3D=3D=3D Similarity =3D=3D=3D A `` declaration can be used to specify the subclass of Simil= arity that you want Solr to use when dealing with your index. If no Simila= rity class is specified, the Lucene !DefaultSimilarity is used. Please see= SolrPlugins for information on how to ensure that your own custom Similari= ty can be loaded into Solr. = + =3D=3D=3D TODO =3D=3D=3D + * Perhaps make a DTD for the schema. + * Talk about omitNorms and positionIncrementGap wrt text fields + * check whether defaultSearchField is also used by the DisMaxRequestHandl= er and not only by the StandardRequestHandler +=20