But the query below is giving me error Predicate name is not indexed. I am trying to search for a node with name attribute as Observation_WindDirection_4UT01_2004_8_13_19_45_001.
eq query requires indexing on the predicate which you want to query on. From the docs:
Index Required: An index is required for the eq(predicate, ...) forms (see table below) when used at query root. For count(predicate) at the query root, the @count index is required.
Try adding following to your schema file <name>: string @index(exact) . .