Skip to content

[v1.38] Document nested object property filters#425

Open
g-despot wants to merge 3 commits into
v1-38/mainfrom
v1-38/nested-object-filtering
Open

[v1.38] Document nested object property filters#425
g-despot wants to merge 3 commits into
v1-38/mainfrom
v1-38/nested-object-filtering

Conversation

@g-despot
Copy link
Copy Markdown
Contributor

@g-despot g-despot commented May 25, 2026

Summary

Adds documentation for filtering on object / object[] (nested) property values, a preview feature landing in Weaviate v1.38 behind WEAVIATE_PREVIEW_NESTED_FILTERING=on. Covers path syntax, every operator pattern (existential, positional, same-element AND, recursive, IsNull), and the limitations users need to know.

Copy link
Copy Markdown

@orca-security-eu orca-security-eu Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@g-despot g-despot changed the base branch from main to v1-38/main May 28, 2026 07:16
@g-despot g-despot requested review from aliszka and Copilot May 28, 2026 07:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR documents preview support in Weaviate v1.38 for filtering nested object / object[] property values, adding conceptual guidance, GraphQL reference examples, and a Python sample include.

Changes:

  • Adds nested-object filtering guidance, path syntax, operator patterns, and limitations.
  • Adds GraphQL reference examples and updates the renamed compound-filter anchor.
  • Updates datatype and collection-operations docs with cross-links to the new guide.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
docs/weaviate/search/filters.md Adds the main nested-object filtering guide and updates the compound-filter heading.
docs/weaviate/api/graphql/filters.md Adds nested-path where examples and updates the renamed anchor link.
docs/weaviate/config-refs/datatypes.md Updates the object datatype note to mention nested filtering.
docs/weaviate/manage-collections/collection-operations.mdx Adds a link from nested object configuration docs to filtering docs.
_includes/code/howto/search.filters.nested.py Adds Python examples for nested filtering patterns.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1080 to +1085
<FilteredTextBlock
text={PyCodeNested}
startMarker="client.collections.create("
endMarker="docs = client.collections.use"
language="python"
/>
Comment on lines +19 to +22
client.collections.create(
name="Document",
vector_config=Configure.Vectors.self_provided(),
properties=[

:::note

- **Allowed leaf data types**: `text`, `int`, `number`, `boolean`, `date`, `uuid`, `blob`, `blobHash`, and their array variants. `geoCoordinates`, `phoneNumber`, and cross-references (`cref`) are not allowed inside nested objects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants