-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Querying, Text Search
-
None
-
Major Change
-
ALL
-
Query 10 (02/22/16)
It is common, that hyphen negates the following word in text search.
But it is standard that the hyphen must be directly adjacent to the word. E.g "MongoDB -documentation". See Google.
Contrary, MongoDB's implementation negates the word even if the hyphen is NOT adjacent "MongoDB - documentation". See Google again.
This is very poor in common user scenarios. People use copy paste frequently, when searching for text and text frequently contains hyphens to separate words.
"MongoDB - Wikipedia, the free encyclopedia" would not find this article on wikipedia, should Google use MongoDB.
- is duplicated by
-
SERVER-21347 The negated term hypen is to liberal in its matching
- Closed