elastic / elasticsearch-py

Official Python client for Elasticsearch
https://ela.st/es-python
Apache License 2.0
4.17k stars 1.17k forks source link

feat: extend default settings in AsyncVectorStore #2601

Closed minglu7 closed 1 week ago

minglu7 commented 1 week ago

This commit introduces a new parameter, custom_settings, to the AsyncVectorStore class. This allows users to provide their own settings that will extend the default settings. This increases the flexibility of the class and allows it to be tailored to specific use cases. The custom settings are applied in the _create_index_if_not_exists method.

cla-checker-service[bot] commented 1 week ago

❌ Author of the following commits did not sign a Contributor Agreement: 64be4e378488e10d2152534d2d599caf93ab5ce2

Please, read and sign the above mentioned agreement if you want to contribute to this project

github-actions[bot] commented 1 week ago

A documentation preview will be available soon.

Request a new doc build by commenting * Rebuild this PR: `run docs-build` * Rebuild this PR and all Elastic docs: `run docs-build rebuild` `run docs-build` is much faster than `run docs-build rebuild`. A `rebuild` should only be needed in rare situations. If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status [here](https://buildkite.com/elastic/docs-build).