You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, late to the party on this one, I think you'll find that this is not a duplicate of #9466 but instead related to how your TokenStream expands synonyms.
For example, if you have a string which has ~26 tokens and they are expanded x10 times by synonym expansion or another method you get to a point where you have over 256 finite strings and 💥
We have also encountered this issue in pelias/pelias#33 and you should be able to mask/fix the error by increasing your max_token_length setting for the relevant analyzer.
clintongormley
How it can be related to #9466? I have not context here.
Also I have this error with context, but I indexed context < 256 value per document (max 111)!
But context have two keys:
context:
category_id:
type: category
default: "default"
department_id:
type: category
default: "default"
category_id has 111 values
department_id has 10 values
missinglink
If I ever remove 'op_synonyms' from token filter this error still appears.
Have this exception during indexation documents for suggest completion:
Document is:
{"text":"Sure-Fire Z59 Click-On Lock-Out Tailcap for C2 / C3 / D2 / D3 / G3 / M2 / M3 / M3T / M4 Flashlights","top_products":{"input":["Sure-Fire Z59 Click-On Lock-Out Tailcap for C2 C3 D2 D3 G3 M2 M3 M3T M4 Flashlights","C2 C3 D2 D3 G3 M2 M3 M3T M4 Flashlights"],"output":"Sure-Fire Z59 Click-On Lock-Out Tailcap for C2 / C3 / D2 / D3 / G3 / M2 / M3 / M3T / M4 Flashlights","weight":"144","payload":{"type":"top_product","product_id":"32378","weight":"144","primary_image":"opplanet-surefire-tailcaps-switches-z59","rating":"0.00","review_count":"0","url":"surefire-tailcaps-switches-z59"}}}
The text was updated successfully, but these errors were encountered: