You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the field you are searching on is indexed by a search index, you must pass the index name to the ``Autocomplete`` call. If a search index does not exist, the default index is used.
107
+
You must create an Atlas Search index that supports autocompletion
108
+
to successfully perform autocomplete queries. To learn more, see
109
+
:atlas:`How to Index Fields for Autocompletion </atlas-search/field-types/autocomplete-type/>`
110
+
in the Atlas documentation.
111
+
112
+
After you create the Atlas Search index, you must pass the index name to
113
+
the ``Autocomplete()`` method, as shown in the preceding code.
0 commit comments