GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — Crash when using non-class type field in Document with QdrantDocumentIndex · Issue #1748 · docarray/docarray
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Crash when using non-class type field in Document with QdrantDocumentIndex #1748Copy link Copy link Closed DescriptionInitial Checks
DescriptionI'm encountering an issue when attempting to define an index of type QdrantDocumentIndex for documents that include fields with non-class types (e.g., lists). The error message I'm receiving is as follows: It seems that this error is related to the interaction between the document's fields and the index definition. The error happens in: docarray/docarray/index/backends/qdrant.py Line 272 in adb0d01
I suggest the following: Steps to Reproduce:
Example Codefrom docarray import DocVec, BaseDoc from docarray.index import QdrantDocumentIndex class DocPaper(BaseDoc): id: str title: str abstract: str authors: List[str] host = "localhost" port = 6333 collection_name = "papers" qdrant_config = QdrantDocumentIndex.DBConfig( host=host, port=port, collection_name=collection_name ) doc_index = QdrantDocumentIndex[DocPaper](qdrant_config) Python, Pydantic & OS VersionAffected ComponentsActivity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |