-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
TokenStream error: "Only <= 256 finite strings are supported" #33
Comments
this happens when In this case, One short term solution is to just increase |
Can I close as a duplicate of pelias/elasticsearch-plugin#5? |
Just wanna find out how I can increse max_token_length ?!?!? |
Hey @flotpk! Are you having problems with token expansion as well? Every tokenizer used in an elasticsearch schema has a setting called http://www.elastic.co/guide/en/elasticsearch/reference/1.x/analysis-standard-tokenizer.html |
Hi @hkrishna, thanks a lot for the feedback. Tried and still getting error: [dbclient] [500] IllegalArgumentException[TokenStream expanded to 360 finite strings. Only <= 256 finite strings are supported]. My changes to the schema/setting.js
}; |
Hi @hkrishna, would like to follow up on this issue and while waiting for the fix, any suggestion for a workaround to avoid the recursive problem with synonym filter ? |
My workaround at the moment is modifying the synonym mapping file in elasticsearch plugin ("eng.json"), rebuild and redeploy to the elasticsearch plugin dir. Failed cases: As this is only a workaround, with different abbreviations combination in the data, I might face the same problem again with another dataset. I wonder if anyone know the root cause of the above problem - if it is recursive problem - is this consider a bug in elasticsearch ?? |
this issue is resolved as the plugin has been deprecated in favour of https://github.com/pelias/schema/blob/master/settings.js#L50-L59 |
Thanks for the update @missinglink. Have a quick look and seems like a total revamp on the "schema" - don't see "suggest" anymore - wonder if there's any documentation of what have been changed and how it affects those who uses the older version (with the plugin) ? |
hey @flotpk I'm in the process of writing a blog post about it since it's a major architectural change |
hi @missinglink where can I find the blog post regarding to the architectural change that you have mentioned? |
These non-fatal errors are recurring and may be fixed with a config/schema/plugin update. @hkrishna may be able to provide more info.
The text was updated successfully, but these errors were encountered: