@@ -164,6 +164,10 @@
<arg>"fess"</arg>
<arg>"tr/protwords.txt"</arg>
</postConstruct>
+ <postConstruct name="addConfigFile">
+ <arg>"fess"</arg>
+ <arg>"en/stopwords.txt"</arg>
+ </postConstruct>
<postConstruct name="addConfigFile">
<arg>"zh-cn/stopwords.txt"</arg>
@@ -50,7 +50,7 @@
},
"stopword_en_filter": {
"type": "stop",
- "stopwords": "_english_"
+ "stopwords_path": "${fess.dictionary.path}en/stopwords.txt"
"arabic_stop": {
@@ -0,0 +1,34 @@
+# https://github.com/apache/lucene-solr/blob/master/lucene/analysis/common/src/java/org/apache/lucene/analysis/en/EnglishAnalyzer.java
+a
+an
+and
+are
+as
+at
+be
+but
+by
+for
+if
+in
+into
+is
+it
+no
+not
+of
+on
+or
+such
+that
+the
+their
+then
+there
+these,
+they
+this
+to
+was
+will
+with