Hi. I have a document that contains: ``` ...
# community-help
g
Hi. I have a document that contains:
Copy code
"mainCategories": [
                            {
                                "description": "Uitgaan zoals concerten, musical etc",
                                "image": "<https://s3-eu-west-1.amazonaws.com/.../57684799a05a8.jpg>",
                                "name": "Avondje uit"
                            },
                            {
                                "description": "Hoofdcategorie Restaurants",
                                "image": "<https://s3-eu-west-1.amazonaws.com/.../57680d0a73cb3.jpg>",
                                "name": "Restaurants"
                            }
                        ],
I would like to filter on the name field (mainCategories.name). Can I do that?
j
@Gerbert We don't support querying nested fields at the moment. So you'd have to flatten it out to a top-level key and then filter on it
g
Ok, thanks.