schema comments

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@802193 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2009-08-07 21:08:43 +00:00
parent 3955b27635
commit 6b9be8fccb
1 changed files with 7 additions and 5 deletions

View File

@ -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>