Allow text indexes in document definitions (but don't document it)
Added text search convenience methods.