Skip to content

Refactor QdrantObjectFactory to allow null metadata values #3483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WOONBE
Copy link

@WOONBE WOONBE commented Jun 9, 2025

related issue : #3420
When retrieving documents from a Qdrant vector store, a NullPointerException was being thrown if the metadata payload for any document contained a field with a null value.

I fix the issue by replacing the stream-based Collectors.toMap() implementation with a more robust and explicit for-each loop.

I have confirmed the fix by performing tests in my local environment.

Signed-off-by: WOONBE <kepull2918@naver.com>
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.

1 participant