Own implementation of exact phrase matching in index