search with text index working