Full-Text Search Index Specs

To use full-text search, you register your soup with one or more full-text-indexed paths. SmartStore provides a full_text index spec for designating index fields.

When you define a path with a full-text index, you can also use that path for non-full-text queries. These other types of queries—”all”, “exact”, “”, “range”, and “smart” queries—interpret full-text indexed fields as string indexed fields.

The following examples show how to instantiate a full-text index spec.

iOS:

Android:

JavaScript: