-
Notifications
You must be signed in to change notification settings - Fork 340
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
Error: no mapping found for field [search.whitespace] #3306
Comments
@vahonc could you please participate? |
@romainruaud if you have any experience with such in issues as well I would really appreciate your help. |
Hello @Playhf, Could you copy/paste either your full mapping or at least the section relative to the "search" (multi) field ? Regards, |
Hello @rbayet yes, here is the mapping for catalog product index. |
Any chance you might be having an attribute named "search" ? |
Yes, looking at the mapping, I can see that
That's typical of a searchable text attribute whose attribute code is indeed "search" and our magic "search" is not present, whose mapping should be
|
This issue was waiting update from the author for too long. Without any update, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! Thanks for your contribution. |
Hello we're having an issue after reindex and trying to load category page:
Exception #0 (OpenSearch\Common\Exceptions\BadRequest400Exception): {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"no mapping found for field [search.whitespace]"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magento2_idegaarden_catalog_product_20240626_081350","node":"P_6BnSxbQVeVPqVHIMnQdA","reason":{"type":"illegal_argument_exception","reason":"no mapping found for field [search.whitespace]"}}],"caused_by":{"type":"illegal_argument_exception","reason":"no mapping found for field [search.whitespace]","caused_by":{"type":"illegal_argument_exception","reason":"no mapping found for field [search.whitespace]"}}},"status":400}
Magento Version : 2.4.7
ElasticSuite Version :2.11.7. Along with
hyva-themes/magento2-smile-elasticsuite:1.2.4
.Steps to reproduce
hyva-themes/magento2-smile-elasticsuite:1.2.4
Expected result
Actual result
Technical information
In the search request object
\Smile\ElasticsuiteCore\Search\Request\Query\Filtered
in query property i can see*Smile\ElasticsuiteCore\Search\Request\Query\MultiMatch*fields
array with following fields:In admin panel i found a mapping for both name and sku and i can see whitespace is defined there.
The same can't be said about search.whitespace.
Please assist me with this issue.
Thanks
The text was updated successfully, but these errors were encountered: