Skip to content

MB-66395: API change to accommodate batch execution of queries #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

abhinavdangeti
Copy link
Member

No description provided.

@@ -66,16 +67,21 @@ type VectorIndex interface {
Size() uint64
}

const DefaultBatchExecutionDelay = time.Duration(100 * time.Millisecond)

type InterpretVectorIndexOptions struct {
Copy link
Member

Choose a reason for hiding this comment

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

i think these would be more useful in bleve_index_api as they are index-specific configurables (from the end-user perspective) and not segment-specific configurables (one value for these configs affects all segments, not just one segment).

BleveVectorSearchBatchExecutionDelay = segment_api.DefaultBatchExecutionDelay

perhaps can be genralized to

type VectorIndexOptions struct {

Copy link
Member Author

Choose a reason for hiding this comment

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

Perhaps, for now - let me just leave these here (next to what they're applicable to).

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.

2 participants