Indexes in AGE fail to create

38 Views Asked by At

I am trying to create indexes via OpenCypher in AGE:

postgres=# SELECT * FROM cypher('testGraph', $$ CREATE INDEX FOR (n:PkgType) ON (n.type) $$) AS (a agtype);
ERROR:  syntax error at or near "FOR"
LINE 1: SELECT * FROM cypher('testGraph', $$ CREATE INDEX FOR (n:Pkg...

But it fails to create the index with an error. Is this not the proper way to create indexes in AGE? Are indexes even supported?

Create indexes in AGE

0

There are 0 best solutions below