Hi,
I'm a beginner and I want to use some analyzer in my code to add synonym and to eliminate stopwords but I don't know where I must add it exactly ! (after first query ? or after second query ? ...)
my code look like that :
processArrFn['basket'] = (nomCallback) =>
client.search
index: 'gosport'
type: 'objbasket'
size: @_SEARCH_SIZE
body:
query:
function_score:
query:
query_string:
fields: ["NAME^5", "TYPE^1", "DEFINITION^3"]
query: queryTxt
boost_mode: "multiply"
.then (res) => nomCallback(null, res)
Thank you !