-
Notifications
You must be signed in to change notification settings - Fork 90
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
Unable to Index #108
Comments
This module uses v1.5, 2.1 has different syntax I believe. |
I managed to get it going but now it says... "{"error":"IndexCreationException[[yctest-20170508-124214] failed to create index]; nested: ElasticsearchIllegalArgumentException[failed to build synonyms]; nested: ParseException[Invalid synonym rule at line 460]; nested: IllegalArgumentException[term: was completely eliminated by analyzer]; ","status":400}" It comes up when trying to reindex catalog. |
while indexing in magento 1.9 gets below error |
Hello @roshanjonah and sorry for the delayed response. Did you managed to get it working ? You may have a synonym rule (visible via the "Catalog > Search Engine > Search Terms" menu) which is not working. Please let me know which rule you had defined. But @Quazz is right, this extension only supports ES 1.X (1.5 or 1.7). So please consider using it instead of 2.1. Regards, |
Hi, @romainruaud, I can somehow reproduce the error with ES 1.7.6 But bear in mind that : it's on a EE 1.10 (not officially supported), I'm still having some problem with the phonetic analyzer (hence my move from ES 1.5 to ES 1.7 in the install script). Regards, |
Hi, @romainruaud, a small follow up. The error described above and encountered by @roshanjonah is probably either linked to an internal ES limit on the size/number of possible synonyms or to an invalid synonym expression of the form "termA => termA," Errors reported in the ES log
Adding a "!= ''" (empty string) reduced the synonyms expressions count to a more reasonable hundred, and the error disappeared. Maybe @roshanjonah can confirm. Cheers, |
Is this fixed, because i am having similar issue? [Elasticsearch\Common\Exceptions\BadRequest400Exception] |
I just ran into this issue and I realized I didn't go through Elasticsearch plugin's installation:
Here: |
When trying to index...it says the following:
Next Elasticsearch\Common\Exceptions\BadRequest400Exception: {"error":{"root_cause":[{"type":"index_creation_exception","reason":"failed to create index"}],"type":"illegal_argument_exception","reason":"failed to build synonyms","caused_by":{"type":"parse_exception","reason":"Invalid synonym rule at line 461","caused_by":{"type":"illegal_argument_exception","reason":"term: was completely eliminated by analyzer"}}},"status":400}
Catalog Search Index index process unknown error:
Guzzle\Http\Exception\ClientErrorResponseException: Client error response
[status code] 400
[reason phrase] Bad Request
Search Terms products positions Indexer index process unknown error:
Guzzle\Http\Exception\ClientErrorResponseException: Client error response
[status code] 404
[reason phrase] Not Found
Next Elasticsearch\Common\Exceptions\Missing404Exception: {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"yc1magento-20170501-003553","index":"yc1magento-20170501-003553"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":
There are a number of those errors. The elastic search is functioning (v2.1). Everything else seem to be in place. I am not sure what exactly is wrong here.
The text was updated successfully, but these errors were encountered: