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
Is your enhancement related to a problem? Please describe.
Elasticsearch only allows asc or desc for the sorting, and if the WordPress query has orderby to post__in; the ES query ends with the error No mapping found for [post__in] in order to sort on.
As the query never ends successfully, to prevent this error, the suggested solution is to never send the request to ES if the orderby is set to post__in.
Is your enhancement related to a problem? Please describe.
Elasticsearch only allows asc or desc for the sorting, and if the WordPress query has
orderby
topost__in
; the ES query ends with the errorNo mapping found for [post__in] in order to sort on
.As the query never ends successfully, to prevent this error, the suggested solution is to never send the request to ES if the
orderby
is set topost__in
.Related issue #773
Designs
No response
Describe alternatives you've considered
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: