Creating EDGE index

Hi,
How do I create an index on =an edge property?
CREATE INDEX ON :FriendOf[Verified] this is wrong.
version 2.2.6.
Thanks

You’ll have to upgrade to a more recent version of RedisGraph say 2.8
Use the new syntax:
GRAPH.QUERY DEMO_GRAPH "CREATE INDEX FOR ()-[f:FOLLOW]-() ON (f.created_at)"

Ok. soon ill be upgrading to the latest.
Thanks!