pub fn parse_search_using_fusion(
sql: &str,
) -> Option<Result<(String, FusionParams), SqlError>>Expand description
Parse SEARCH <collection> USING FUSION(...) into its collection name
and a typed FusionParams.
None means the SQL does not start with SEARCH <collection> USING FUSION. Some(Err) means it does and a clause is malformed. The body
goes through the same quote- and bracket-aware tokenizer and the same
clause reader as GRAPH RAG FUSION, so a keyword-shaped string literal
(e.g. a label value 'TOP') cannot shadow a real parameter keyword.