I want to use function_score and bool in the same query but I can't find the correct syntaxe !!!
In that way; it dosent work ! knowing that queryTxt is what I wanna search
query: bool: should: [ match_phrase: "NAME": queryTxt] function_score: query: query_string: fields: ["NAME^5", "TYPE^1", "DEFINITION^3"] query: queryTxt