Hi @Marcus - thanks for taking your time to answer. Really trying to build what I would think is basic functionality, but really hard to find good examples on.
The phrase operator is somehow better, but not optimal (in it’s raw form at least).
If we now have the following docs:
[{name: "Jonas Jespersen"}, {name: "John Doe"}, {"John Eriksen", {"Lara Croft"} ]
and pipeline:
[
{
'$search': {
'phrase': {
'query': 'Jonas Jes',
'path': 'name'
}
}
}
]
I get 0 results
- not very good for a username search where there is pretty much a complete match 