Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add
per_crowding_attribute_neighbor_count
, `approx_num_neighb…
…ors`, `fraction_leaf_nodes_to_search_override`, and `return_full_datapoint` to MatchingEngineIndexEndpoint `find_neighbors` PiperOrigin-RevId: 579967420
- Loading branch information
Showing
2 changed files
with
48 additions
and
1 deletion.
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
33c551e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lingyinw Should the return_full_datapoint flag also conditionally trigger returning all of the restricts from the datapoint if it is set to true? Otherwise, what is the point of wanting to return the whole datapoint if the MatchNeighbor is still only being returned that includes the ID and distance? What does return_full_datapoint do for the caller of the find_neighbors method?
33c551e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.