-
Notifications
You must be signed in to change notification settings - Fork 61
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
Porter stem #446
Porter stem #446
Conversation
Interesting that passes on CI as it actually fails locally with The test is brought from https://github.com/opensearch-project/OpenSearch/blob/6227dc6ae70d82b7826f8f08bcc57b277c254056/modules/analysis-common/src/test/java/org/opensearch/analysis/common/StemmerTokenFilterFactoryTests.java#L83 |
@ebraminio Run with You may need a |
Changes AnalysisCommit SHA: 3b60a47 API ChangesSummaryNO CHANGES ReportThe full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/10061450423/artifacts/1731274121 API Coverage
|
For the spell checker, either use an existing movie or add to See other lint failures & stuff, we can skip changelog for tests. |
The problem is I expect it to current fail as I don't how to configure the index yet to use porter_stem yet and it fails but on your CI it doesn't fail which is weird.
|
I don't see a mention of the porter-stem in your test, what am I missing? |
Just that I don't know how best I should reference |
I couldn't find an OpenSearch doc, but I think it's the same as in https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-porterstem-tokenfilter.html. Do open an issue in https://github.com/opensearch-project/documentation-website to document how to use token filters. |
Signed-off-by: Ebrahim Byagowi <ebrahim@gnu.org>
Thank you so much for the help, apparently I'm getting somewhere but not there yet, I tried swapping
|
It's getting somewhere! I am not sure why the filter isn't working, but i you can get any filter working that would be a useful contribution. We should start organizing things better too, so I would move |
Done in #592. Thank you so much |
@dblock Following #444 let's add a test for a currently available filter.
Actually I wasn't familiar with the testing system and so and it was fun!
This one currently fails with the following as I haven't figured out how to hook any filter. As far as I know I should configure an analyzer but not sure how and couldn't find something similar so I can learn from but the whole thing looks nice!