New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "ja_stop" filter #48
Conversation
Now, I add If we can the predefined stop words to elasticsearch core stop filter from Analyzer Plugin, is it useful? |
I have two option for implementing this.
|
.immutableMap(); | ||
this.stopWords = Analysis.parseWords(env, settings, "stopwords", JapaneseAnalyzer.getDefaultStopSet(), namedStopWords, version, ignoreCase); | ||
this.enablePositionIncrements = settings.getAsBoolean("enable_position_increments", true); | ||
if (!enablePositionIncrements && version.onOrAfter(Version.LUCENE_44)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need that? I mean that this PR will probably go in es-1.4+ which has a Lucene 4.10 version.
Is it for backward compatibility?
Left a small comment. |
* can use a predefined "_japanese_" stop words
* can not use other predefined stop words
Closes #45
@dadoonet Thanks for your comment! I fixed it. |
* can use a predefined "_japanese_" stop words
* can not use other predefined stop words
* upgrade to lucene 5
* add ja_stop to README
Closes #45
2881cc0
to
21bfe65
Compare
|
Merged by 0a0d6fd |
Closes #45