#1768 add en/stopwords.txt
This commit is contained in:
parent
398efcea66
commit
1c7b945422
3 changed files with 39 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
},
|
||||
"stopword_en_filter": {
|
||||
"type": "stop",
|
||||
"stopwords": "_english_"
|
||||
"stopwords_path": "${fess.dictionary.path}en/stopwords.txt"
|
||||
},
|
||||
"arabic_stop": {
|
||||
"type": "stop",
|
||||
|
|
34
src/main/resources/fess_indices/fess/en/stopwords.txt
Normal file
34
src/main/resources/fess_indices/fess/en/stopwords.txt
Normal 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
|
Loading…
Add table
Reference in a new issue