Skip to content

Apache Lucene open-source search software

modified example of using an existing analyzer to refrence one that supports a default constructor

Chris M. Hostetter22c19c970da1
diff --git a/example/solr/conf/schema.xml b/example/solr/conf/schema.xml
index 0ce1c8798c2..cb25ac97892 100755
--- a/example/solr/conf/schema.xml
+++ b/example/solr/conf/schema.xml
@@ -88,10 +88,10 @@
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
</analyzer>
</fieldtype>
- <!-- One could also specify an existing Analyzer implementation in Java
- via the class attribute on the analyzer element:
+ <!-- One could also specify an existing Analyzer class that has a
+ default constructor via the class attribute on the analyzer element
<fieldtype name="text_lu" class="solr.TextField">
- <analyzer class="org.apache.lucene.analysis.snowball.SnowballAnalyzer"/>
+ <analyzer class="org.apache.lucene.analysis.el.GreekAnalyzer"/>
</fieldType>
-->