Skip to content
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

refactor: move Elasticsearch classes to dedicated package and use bui… #1894

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

Conversation

sobychacko
Copy link
Contributor

…lder pattern

* Sets the batching strategy for vector operations.
* @param batchingStrategy the batching strategy to use
* @return the builder instance
* @throws IllegalArgumentException if batchingStrategy is null
Copy link
Member

Choose a reason for hiding this comment

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

Where do we throw IllegalArgumentException? Same question for other places we specify that the exception is thrown for invalid values.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the method implementation, the Assert.notNull(..) call would throw the IAE.

@ilayaperumalg ilayaperumalg self-assigned this Dec 10, 2024
@ilayaperumalg ilayaperumalg added this to the 1.0.0-M5 milestone Dec 10, 2024
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