Skip to content

Commit 7b5ec42

Browse files
committed
DOCS-953 release notes edits to text search info
1 parent 4298968 commit 7b5ec42

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

source/release-notes/2.4.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,12 @@ To create a ``text`` index, use the following invocation of
157157

158158
db.collection.ensureIndex( { content: "text" } )
159159

160-
``text`` indexes catalog all string data in the ``content`` field. Your
161-
``text`` index can include content from multiple fields, or arrays,
162-
and from fields in sub-documents, as in the following:
160+
This ``text`` index catalogs all string data in the ``content`` field
161+
where the ``content`` field contains a string or an array of string
162+
elements. To index fields in sub-documents, you need to specify the
163+
individual fields from the sub-documents using the :term:`dot
164+
notation`. A ``text`` index can include multiple fields, as in the
165+
following:
163166

164167
.. code-block:: javascript
165168

0 commit comments

Comments
 (0)