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
I am new to Elasticsearch. Ive been stuck for hours trying to figure out how to rank search results based on another search field.
In the example below, I am trying to search for product, but want the field "score" to affect the results. It is failing with "failed to create query".
I have tried using "random_score" (commented lines), and this works perfectly.
Summary of problem or feature request
I am new to Elasticsearch. Ive been stuck for hours trying to figure out how to rank search results based on another search field.
In the example below, I am trying to search for product, but want the field "score" to affect the results. It is failing with "failed to create query".
I have tried using "random_score" (commented lines), and this works perfectly.
Code snippet of problem
System details
Linux
Php 7.0
Elasticsearch 5.6.3
ES-PHP 5.0
The text was updated successfully, but these errors were encountered: