Fix issue #45 providing initial support for text indexes