hi @MaheshaGu,
GraphQL filters from different fields are effectively ANDed and there is no native cross‑field OR/IN; AEMaaCS adds OR within a single field’s expressions, but not a general OR across multiple fields.
When it comes to GraphQL filters on _tags, these filters utilize tag IDs (namespace/path). Therefore, searching using tag titles (jcr:title) is not supported directly.
If tags are stored on the Content Fragment itself, you can achieve your desired functionality as follows:
query {
cityList(
filter: {_tags: {_expressions: [{value: "tourism:city-break", _operator: CONTAINS}]}}
){
items {
name,
_tags
}
}
}
If the tags are part of the Content Fragment Metadata, you can also implement it in this way:
query {
adventureList {
items {
_path,
_metadata {
stringArrayMetadata {
name,
value
}
}
}
}
}