reduce duplicate qdrant api calls in hybrid auto-detect
problem
when inserting into hybrid collection or dense collection with topology:
_resolve_topology() calls collection_exists() then get_collection() if exists
_ensure_collection() calls get_collection() again to validate dimensions
this means two http round-trips to qdrant for the same collection info every insert.
solution
introduce a unified collection info method that fetches all needed topology and config data in one qdrant api call
both the topology resolution and collection validation use this same result so they don't need separate calls
i can work on this
reduce duplicate qdrant api calls in hybrid auto-detect
problem
when inserting into hybrid collection or dense collection with topology:
_resolve_topology()callscollection_exists()thenget_collection()if exists_ensure_collection()callsget_collection()again to validate dimensionsthis means two http round-trips to qdrant for the same collection info every insert.
solution
introduce a unified collection info method that fetches all needed topology and config data in one qdrant api call
both the topology resolution and collection validation use this same result so they don't need separate calls