Query string query seperate boost configure from fields

Hi currently I am working on Elasticsearch 6.2.4 and using query string query.

From the documentation I know that I can boost result from specifing the fields like:

GET /_search
{
    "query": {
        "query_string" : {
            "fields" : ["entity^5","tag^2"],
            "query" : "this AND that OR thus"
        }
    }
}

However this will make the search engine just search against just my "entity" and "tag" field, other fields it will not search other fields.

Is there any way to make it search against all fields and boost the result score if the keywords appear in selected fields?

Anyone have ideas?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.