| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
The rerank_hybrid_matches field was only defined on MultiSearchCollectionParameters in the OpenAPI spec, forcing users to use multi_search even for single collection hybrid search. The Typesense server accepts this parameter for all search endpoints. Add a spec patch in DownloadSpecsPlugin that injects the rerank_hybrid_matches boolean property into SearchParameters, matching the existing SynonymItemSchema patching approach.
Verify that SearchParameters exposes rerankHybridMatches with the correct default value (false) and serializes to the expected JSON key rerank_hybrid_matches for Typesense server compatibility.
| } else { | ||
| println('Warning: SynonymItemSchema allOf block not found, skipping patch') | ||
| } | ||
|
|
There was a problem hiding this comment.
This is monkey patching the actual contents of the API spec, and isn't used anywhere else. I'd avoid this and instead merge typesense/typesense-api-spec#112 first, since it's going to add it regardless.
Sorry, something went wrong.
|
Since the correct path is fixing the api specs in https://github.com/typesense/typesense-api-spec, im closing this. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary