I have a simple search field. The search results work strangely.. some search work as expected, other not. For example 'Building', if I search for the exact term, it wont find the search.
Other words, like for example 'retrofit', works.. even if I search for plural or misspelled.
To me, it seems like it wont find verbs.
I use the following settings:
{
"settings" : {
"analysis" : {
"analyzer" : {
"my_analyzer" : {
"tokenizer" : "standard",
"filter" : ["lowercase", "stop", "stemmer"]
}
}
}
}
}
The query is next (its in PHP):
$params = [
'body' => [
'query' => [
'match' => [
'teaming_desc' => [
'query' => $searchTerm,
'analyzer' => 'my_analyzer'
]
]
]
]
];