# Filtering objects based nested property

**URL:** https://forum.weaviate.io/t/filtering-objects-based-nested-property/9893
**Category:** Support
**Tags:** developer-experience, python
**Created:** [January 24, 2025, 8:53pm UTC](https://forum.weaviate.io/t/filtering-objects-based-nested-property/9893 "2025-01-24T20:53:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![zmliu213](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/zmliu213/32/3427_2.png) [@zmliu213](https://forum.weaviate.io/u/zmliu213)
#### Post date: [January 24, 2025, 8:53pm UTC](https://forum.weaviate.io/t/filtering-objects-based-nested-property/9893/1 "2025-01-24T20:53:06Z")

</div>

Here is an example of properties of an object {…  
‘sectionName’: ‘introduction’,  
‘title’: ‘Tuberculosis manifesting with significant peripheral eosinophilia: A case report and review of literature’,  
‘publishingDate’: datetime.datetime(2023, 10, 23, 0, 0, tzinfo=datetime.timezone.utc),  
‘journal’: ‘Clinical Case Reports’,  
‘ids’: [{‘idValue’: ‘37881201’, ‘idName’: ‘PMID’},  
{‘idValue’: ‘10.1002/ccr3.8085’, ‘idName’: ‘DOI’},  
{‘idValue’: ‘PMC10593972’, ‘idName’: ‘PMCID’}]

# Could you use Filter to obtain papers with PMID (e.g., ‘idValue’ = ‘37881201’)? Property of “ids” is a list. Contains\_any does not seem to work with scenario like this.

pmid\_filter = Filter.any\_of([  
Filter.by\_property(“ids”).contains\_any([{“idValue”: value, “idName”: “PMID”}])  
for value in pmid\_values  
])

result = collection.fetch\_objects(  
filters=pmid\_filter  
)

I keep getting validation error like this:  
value.int  
Input should be a valid integer [type=int\_type, input\_value=[{‘idValue’: ‘35838824’, ‘idName’: ‘PMID’}], input\_type=list]  
For further information visit [Redirecting...](https://errors.pydantic.dev/2.9/v/int_type)

Any suggestions?

---

<div class="post-metadata">

### Author: ![Shahin](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/shahin/32/7944_2.png) [@Shahin](https://forum.weaviate.io/u/Shahin)
#### Post date: [January 27, 2025, 10:57am UTC](https://forum.weaviate.io/t/filtering-objects-based-nested-property/9893/2 "2025-01-27T10:57:40Z")

</div>

Hello @zmliu213,

Welcome to our community. It’s great to have you here.

Please note that this is not a feature yet but it’s in our road map

> <https://github.com/weaviate/weaviate/issues/3694>
>
> \#2424 introduced storing of nested objects. The next step is to make filtering (…and vectorization for modules) available for them.

Regards  
Mohamed Shahin  
Weaviate Support

---

<div class="post-metadata">

### Author: ![Sundaram\_Dwivedi](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/sundaram_dwivedi/32/3323_2.png) [@Sundaram\_Dwivedi](https://forum.weaviate.io/u/Sundaram_Dwivedi)
#### Post date: [November 2, 2025, 8:21am UTC](https://forum.weaviate.io/t/filtering-objects-based-nested-property/9893/3 "2025-11-02T08:21:19Z")

</div>

Is it available now?

---

<div class="post-metadata">

### Author: ![Shahin](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/shahin/32/7944_2.png) [@Shahin](https://forum.weaviate.io/u/Shahin)
#### Post date: [November 3, 2025, 1:12pm UTC](https://forum.weaviate.io/t/filtering-objects-based-nested-property/9893/4 "2025-11-03T13:12:46Z")

</div>

Unfortunately, we are still not there for this feature @Sundaram_Dwivedi. Keep an eye on the major releases where features are announced as it could be available for 1.34 or 1.35.
