Tuning index field boost relevancy
You can use the node index_field_relevancy to add the boost
value for an index field at query time. This is used to boost the result based on the field.
You can add or update using the POST
method; to delete the existing value
use the PATCH
method for the endpoint by passing an empty value as its
key.
Endpoint
The endpoint for the service
is:
http://data_environment_hostname:30921/search/resources/api/v2/configuration?nodeName=index_field_relevancy&envType=auth
Example
Following is sample data for index field
relevancy.
{
"default.suggestion": "1",
"category.name": "100",
"description.text": "5",
"name.text": "10",
"manufacturer.text": "10",
"default.search.text": "1",
"identifier.pn.raw": "15",
"keyword.text": "100"
}