lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r802193 - /lucene/solr/trunk/example/solr/conf/schema.xml
Date Fri, 07 Aug 2009 21:08:43 GMT
Author: yonik
Date: Fri Aug  7 21:08:43 2009
New Revision: 802193

URL: http://svn.apache.org/viewvc?rev=802193&view=rev
Log:
schema comments

Modified:
    lucene/solr/trunk/example/solr/conf/schema.xml

Modified: lucene/solr/trunk/example/solr/conf/schema.xml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/conf/schema.xml?rev=802193&r1=802192&r2=802193&view=diff
==============================================================================
--- lucene/solr/trunk/example/solr/conf/schema.xml (original)
+++ lucene/solr/trunk/example/solr/conf/schema.xml Fri Aug  7 21:08:43 2009
@@ -309,11 +309,13 @@
       <analyzer>
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
         <!--
-         Attributes:
-         delimiter - a one character delimiter - will throw an exception if the delim is
more than one char.  Default is | (pipe)
-         encoder - Values: float -> org.apache.lucene.analysis.payloads.FloatEncoder,
integer -> o.a.l.a.p.IntegerEncoder
-              identity -> o.a.l.a.p.IdentityEncoder, Fully Qualified class name implementing
PayloadEncoder
-              Encoder must have a no arg constructor.
+         Attributes for DelimitedPayloadTokenFilterFactory:
+         "delimiter" - a one character delimiter. Default is | (pipe)
+	 "encoder" - how to encode the following value into a playload
+	    float -> org.apache.lucene.analysis.payloads.FloatEncoder,
+	    integer -> o.a.l.a.p.IntegerEncoder
+	    identity -> o.a.l.a.p.IdentityEncoder
+            Fully Qualified class name implementing PayloadEncoder, Encoder must have a no
arg constructor.
          -->
         <filter class="solr.DelimitedPayloadTokenFilterFactory" encoder="float"/>
       </analyzer>



Mime
View raw message