#1768 add en/stopwords.txt

This commit is contained in:
Shinsuke Sugaya 2018-07-18 06:06:30 +09:00
parent 398efcea66
commit 1c7b945422
3 changed files with 39 additions and 1 deletions

View file

@ -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>"fess"</arg>
<arg>"zh-cn/stopwords.txt"</arg>

View file

@ -50,7 +50,7 @@
},
"stopword_en_filter": {
"type": "stop",
"stopwords": "_english_"
"stopwords_path": "${fess.dictionary.path}en/stopwords.txt"
},
"arabic_stop": {
"type": "stop",

View file

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