Hi Team, Trying to use search in GraphQL, how to g...
# troubleshoot
h
Hi Team, Trying to use search in GraphQL, how to give OR condition in Query to search ?
Copy code
{search(input: {type:DATASET,start: 0, count: 1000, query: "*", filters: [{field:"tags",value:"urn:li:tag:testtag"}]} ) {searchResults {entity {urn ... on Dataset{urn status{ removed } editableProperties{ description } schemaMetadata{ fields{description type fieldPath } }  domain{domain{ properties{name } } } } } } } }
h
Hey @handsome-football-66174 I believe, you can use
orFilters
from searchInput https://datahubproject.io/docs/graphql/inputObjects#searchinput for this
h
@hundreds-photographer-13496 -we still on 0.8.45 version, looks like its not available on it...
a
Hi Keerthi, do y’all have any plans to update?
h
@astonishing-answer-96712 _ Planning to upgrade in a couple of weeks.
a
Ah OK, I believe this should fix the issue!