Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

schema comments

Yonik Seeley6b9be8fccb26
diff --git a/example/solr/conf/schema.xml b/example/solr/conf/schema.xml
index 5735bd9839a..7f39d5fff0d 100755
--- a/example/solr/conf/schema.xml
+++ b/example/solr/conf/schema.xml
@@ -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>