Relevance Calculation

Regarding relevance, the calculation done for relevancy score is not direct and is complex, it is based on field length norm, term frequency and many other factors (which cannot be controlled directly). Field length norm is based on the size of the data of the field. Also, custom field included in search would have a separate weight. 

The relevance calculation is based on Elasticsearch. Regarding relevance explanation, please refer the links below:

From 8.6.x onwards we have tune parameters available in SearchBlox, using which it is possible to calibrate the relevancy score. These tune parameters are based on the following fields

  • title (tune.0)
  • description (tune.1)
  • keywords(tune.2)
  • url(tune.3)
  • date recency (tune.4)
  • url length (tune.5)

eg: tune=true&tune.0=5&tune.1=3&tune.2=3&tune.3=5&tune.4=180&tune.5=10

When tune values are specified for each of these values as above, Elasticsearch uses them to calculate the relevancy score where the weights are multiplied to the score i.e., the factored tuning parameter value will be multiplied to the score calculated in Elasticsearch mentioned earlier. 

Note: The score will not be based on tuning values alone (if tuning is enabled)



Have more questions? Submit a request