-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 6.0.5
-
Component/s: None
-
Query Integration
-
ALL
-
It’s my understanding that $text searches do not match partial words or phrases. However, when I am searching in my MongoDB with a text index, it is returning matches that partially match an ID-like search query, for example:
This search:
{{{ $text: {$search: '"23-X-1"' }}}}
Matches this document:
{{
{ "value": "123-X-1 Hello" }}}
Especially since it is quoted, I’d expect it to not match, since the phrase "23-X-1" doesn’t appear isolated anywhere in the value, but only appears as a partial match of the greater phrase "123-X-1".