Skip to content

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
@markpollack
Copy link
Member

updated ref docs and class javadoc for ElasticSearchVectorStore.

merged in fc1f92d

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