def _searcher_stem_for_key(self, key):
        if key not in self.__searcher_stem_cache:
            stem = self._searcher.uri_template.string.partition("{key}")[0]
            self.__searcher_stem_cache[key] = stem + percent_encode(key) + "/"
        return self.__searcher_stem_cache[key]
dataset/ETHPy150Open nigelsmall/py2neo/py2neo/ext/batman/index.py/ManualIndex._searcher_stem_for_key/original