Skip to content

Conversation

neuenfeldttj
Copy link
Contributor

Description

Resolves #2785. Added profile wrappers around lucene knn queries to use for profiling. Once opensearch-project/OpenSearch#18793 gets resolved then this can be refactored so that we are not unnecessarily creating profiler wrappers which already adds latency.

Related Issues

References #2785

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: TJ Neuenfeldt <[email protected]>
Signed-off-by: TJ Neuenfeldt <[email protected]>
Copy link
Collaborator

@shatejas shatejas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving for now - This is pending 2 things to merge in main

  1. QueryshardContext needs a profile flag to be able to decide the right query in KNNfactory
  2. Lucene needs a vector query interface to not create large number of queries.

@jmazanec15
Copy link
Member

@markwu-sde

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants