Skip to content
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

[SearchBundle, NodeSearchBundle] : change nGram to ngram #3331

Merged
merged 2 commits into from
Feb 18, 2024

Conversation

delboy1978uk
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets NA

When using elastic search 8, elastica throws the following Exception

The [nGram] tokenizer name was deprecated in 7.6. Please use the tokenizer name to [ngram] for indices created in versions 8 or higher instead.

Version 7 uses ngram as well as nGram as can be seen here, https://www.elastic.co/guide/en/elasticsearch/reference/7.14/analysis-ngram-tokenizer.html#_example_output_13 , so this pull request simply lower cases the G's, which allows the search population command to successfully run again

@acrobat acrobat merged commit c4810d7 into Kunstmaan:6.x Feb 18, 2024
4 of 9 checks passed
@acrobat
Copy link
Member

acrobat commented Feb 18, 2024

Thank you @delboy1978uk

acrobat added a commit that referenced this pull request Feb 18, 2024
* 6.x:
  feature #3331 [SearchBundle, NodeSearchBundle] : change `nGram` to `ngram` (delboy1978uk)
acrobat added a commit that referenced this pull request Feb 18, 2024
* 7.0:
  feature #3331 [SearchBundle, NodeSearchBundle] : change `nGram` to `ngram` (delboy1978uk)
@delboy1978uk delboy1978uk deleted the 6.x branch February 26, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants