Adaptive hybrid search
HLQuery reserves an opt-in master gate for adaptive hybrid ranking. In the current Phase 1 implementation, the gate is parsed and discoverable but adaptive ranking is not implemented or executed. All searches continue through the legacy lexical, vector, and hybrid pipeline.
The operational controls live directly in run/conf/hlquery.conf:
<adaptive_search
enabled="false"
execution_trace="false"
include_query_text="false"
allow_request_disable="true"
expose_capabilities="true">
enabledis the future adaptive-ranking hard-off switch. Its default isfalse.execution_traceenables the optional ordered trace on standard document search responses.include_query_textis the server-side privacy gate. A request cannot overridefalse.allow_request_disablelets a request suppress trace output withinclude_search_execution=false.expose_capabilitiescontrols the non-sensitive/etc?include=search_capabilitiessection.
The request field include_search_query_text=true includes source query text
only when both tracing and the server privacy gate are enabled. Raw vectors,
generated embeddings, API keys, authorization headers, embedded security
filters, credentials, and document contents are never trace fields.
adaptive_search.enabled=true does not select a new ranking algorithm in Phase
- Capability discovery reports adaptive ranking as unavailable until a real
planner and fusion implementation ship. Existing
hybrid_alpha,dynamic_alpha, normalization, linear/RRF merge, rerank, filtering, sorting, grouping, module weighting, and pagination behavior remain unchanged.
Vector retrieval currently uses exact brute-force scanning. HNSW and IVF parameters do not represent available execution backends.
Trace output is currently supported by the standard
/collections/{collection}/documents/search handler. Dedicated vector search,
global search, and multi-search retain their existing response shapes in this
phase.