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
Describe the bug
When testing 4.4.0 I encountered 2 failed queries where the errors were not recognised and no solution could be recommended.
The first one occurred after deleting the posts index, updating an existing post, visiting the homepage, then searching for that post.
field [post_date_gmt] is of type [org.elasticsearch.index.mapper.TextFieldMapper$TextFieldType@72e0f4e4], but only numeric types are supported.
This appeared as a failed query on the homepage and the search results page. The homepage failed query seemed to be related to the Autosuggest template, as the failed query included the Autosuggest placeholder.
The other error was only logged against the homepage URL, and read:
Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [post_date] in order to load field data by uninverting the inverted index. Note that this can use significant memory.
This appeared to be for the main query for the homepage displaying the latest posts.
Additionally, in the fallback error message, GitHub is capitalised incorrectly:
We did not recognize this error. Please consider opening a Github Issue so we can add it to our list of supported errors.
Steps to Reproduce
Run wp elasticpress delete-index
Go to Posts > All Posts, select a post.
Make a change to the post and click Update.
Visit the latest posts page, with a search block/widget on it. Search for the edited post.
Visit ElasticPress > Status Report in the admin.
Expected behavior
The failed queries should have a recommended solution that tells the user to complete a full sync.
The text was updated successfully, but these errors were encountered:
Describe the bug
When testing 4.4.0 I encountered 2 failed queries where the errors were not recognised and no solution could be recommended.
The first one occurred after deleting the posts index, updating an existing post, visiting the homepage, then searching for that post.
This appeared as a failed query on the homepage and the search results page. The homepage failed query seemed to be related to the Autosuggest template, as the failed query included the Autosuggest placeholder.
The other error was only logged against the homepage URL, and read:
This appeared to be for the main query for the homepage displaying the latest posts.
Additionally, in the fallback error message, GitHub is capitalised incorrectly:
Steps to Reproduce
wp elasticpress delete-index
Expected behavior
The failed queries should have a recommended solution that tells the user to complete a full sync.
The text was updated successfully, but these errors were encountered: