Closed ivankristianto closed 7 years ago
Turns out the default sorting of Woocommerce Product Search is order "ASC" This will tell elasticsearch to sort it by product ID asc, instead of the most relevant results. @tlovett1 should we modified the query args for WC product search using our filter?
Query Args:
Query Body:
The first 10 results are nothing relevant with the search keyword.
But in Admin Area, it return the correct results:
ENV: WP 4.2.2 EP 2.2 ES 5.2.0