-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat(GraphQL): Add support for @search directive for vector searches (#…
…69) Description: This PR adds support for specifying @search directive with search options (vector index options) The fix is not backward compatible. Earlier searchArgs in @search directive were expected to be Enum of index types. Arguments are expected to be strings now of the following form. `@search(by: [String!])` where each string element in the array is of the form `<searchArg> := <searchType> [ ( <searchOptions> ) ]` searchOptions are optional. ``` ``` <searchOptions> := <searchOption> , <searchOption>, ... <searchOption> := <optionName><COLON><SPACE><optionValue> ``` ``` For example: `product_vector: [Float!] @hm_embedding @search(by: ["hnsw(metric: euclidian, exponent: 6)"])` Fixes: HYP-313
- Loading branch information
1 parent
1c3c897
commit 46c7c0f
Showing
97 changed files
with
643 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.