Skip to content

Commit 68e7e46

Browse files
stenniekay-kim
authored andcommitted
Clarify current behaviour as per SERVER-30163 (Additional terms in phrase search are implicitly ignored)
1 parent 970d29c commit 68e7e46

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

source/reference/operator/query/text.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ phrase in escaped double quotes (``\"``), as in:
107107
"\"ssl certificate\""
108108

109109
If the ``$search`` string includes a phrase and individual terms, text
110-
search will only match the documents that include the phrase. More
111-
specifically, the search performs a logical ``AND`` of the phrase with
112-
the individual terms in the search string.
110+
search will only match the documents that include the phrase.
113111

114112
For example, passed a ``$search`` string:
115113

@@ -118,8 +116,7 @@ For example, passed a ``$search`` string:
118116
"\"ssl certificate\" authority key"
119117

120118
The :query:`$text` operator searches for the phrase ``"ssl
121-
certificate"`` **and** (``"authority"`` **or** ``"key"`` **or**
122-
``"ssl"`` **or** ``"certificate"`` ).
119+
certificate"``.
123120

124121
.. _text-operator-term-negation:
125122

0 commit comments

Comments
 (0)