search using text index