Does any one know how I can filter an entity’s lin...
# getting-started
s
Does any one know how I can filter an entity’s lineage using graphQL? This is what I have to far
Copy code
{
          searchAcrossLineage(
                input: {
                  query: "*"
                  urn: ""
                  start: 0
                  count: 10
                  direction: UPSTREAM
                  orFilters: [
                    {
                      and: [
                        {
                          condition: EQUAL
                          negated: false
                          field: "degree"
                          values: ["1", "2", "3+"]
                        }
                      ]                                     
                    }
                  ]
                }
            ) {
                searchResults {
                  degree
                  entity {
                    urn
                    type
                  }
                }
            }
        }
r
@green-football-43791 might be able to help you with this one!
s
I was able to figure it out but I have another question. How can I fetch multiple glossary terms at once? This is what I have so far
Copy code
{
    searchAcrossEntities(input: {
        start: 0,
        query: "name=contact",
        types: [GLOSSARY_TERM]
    }
    ) {
        searchResults {
            entity {
              urn 
            	... on GlossaryTerm {
                properties {
                  name
                  description
                }
          		}
            }
        }
    }
}
Is it possible to do something like
Copy code
{
    searchAcrossEntities(input: {
        start: 0,
        query: "name in (contact, firstName)",
        types: [GLOSSARY_TERM]
    }
    ) {
        searchResults {
            entity {
              urn 
            	... on GlossaryTerm {
                properties {
                  name
                  description
                }
          		}
            }
        }
    }
}