Index on nested payload field? #2256
Unanswered
mymindwentblvnk
asked this question in
Q&A
Replies: 1 comment 1 reply
-
So the following index definition seems to work: client.create_payload_index('collection_1', field_name='top_level_attribute[].nested_attribute', field_schema='keyword') When checking the collection information, it confirms to have created an index for all points in the collection. collection_info = client.get_collection('collection_1')
assert collection_info.payload_schema['top_level_attribut[].nested_attribute'].points == number_of_points_in_collection # This is True But I cannot measure any performance improvement. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, do you know if it is possible to create an index on a nested payload field?
As written here (https://qdrant.tech/documentation/concepts/indexing/#payload-index), one can easily create an index on a top level field. Our payload looks like this:
I want to filter on a certain string in
nested_attribute
. How could I create an index on it?Beta Was this translation helpful? Give feedback.
All reactions