Include preliminary support for text indexes

To index a text field, prefix the field name with `$`, as in `$title`.