Andrea Cosentino created CAMEL-24542:
----------------------------------------
Summary: camel-qdrant: the PayloadSelector header is declared and
advertised but never read
Key: CAMEL-24542
URL: https://issues.apache.org/jira/browse/CAMEL-24542
Project: Camel
Issue Type: Bug
Components: camel-qdrant
Reporter: Andrea Cosentino
Assignee: Andrea Cosentino
Fix For: 4.23.0
QdrantHeaders (line 31) declares PAYLOAD_SELECTOR =
"CamelQdrantPointsPayloadSelector" and it is advertised in the generated
qdrant.json (line 40), but it is never read anywhere in the component. The
retrieve and similaritySearch operations only honour the INCLUDE_PAYLOAD
boolean, so a user who sets PayloadSelector to request specific payload fields
gets it silently ignored. Fix: either wire the header into the
retrieve/similaritySearch requests (build a Qdrant WithPayloadSelector from it)
or remove the dead constant.
_Claude Code on behalf of oscerd_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)