- Indexes >
- Indexing Tutorials >
- Text Search Tutorials
Text Search Tutorials¶
Instructions for enabling MongoDB’s text search feature, and for building and configuring text indexes.
- Enable Text Search
- You must explicitly enable text search in order to search string content in collections.
- Create a text Index
- A
text
index allows searches on text strings in the index’s specified fields. - Search String Content for Text
- Use queries to find strings of text within collections.
- Specify a Language for Text Index
- The specified language determines the list of stop words and the rules for Text Search’s stemmer and tokenizer.
- Create text Index with Long Name
- Override the
text
index name limit for long index names. - Control Search Results with Weights
- Give priority to certain search values by denoting the significance of an indexed field relative to other indexed fields
- Limit the Number of Entries Scanned
- Search only those documents that match a set of filter conditions.
- Create text Index to Satisfy the filter Component of Text Search
- Perform text searches that return results without the need to scan documents.