def create(self, name, **config): return self._index.forRelationships(name, to_java(config))
def create(self, name, **config): return self._index.forNodes(name, to_java(config))
def execute(self, query, **params): if len(params.keys()) > 0: return ExecutionResult(self._engine.execute(query,to_java(params))) return ExecutionResult(self._engine.execute(query))
def execute(self, query, **params): if len(params.keys()) > 0: return ExecutionResult(self._engine.execute( query, to_java(params))) return ExecutionResult(self._engine.execute(query))