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 yo...@apache.org on 2009/08/07 23:08:43 UTC
svn commit: r802193 - /lucene/solr/trunk/example/solr/conf/schema.xml
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>