This works and outputs lots of nodes.
{
yo(func: has(name)) {
name
}
}
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.
{
yo(func: eq(name, "Observation_WindDirection_4UT01_2004_8_13_19_45_001")) {
uid
}
}