Skip to content
Snippets Groups Projects
Unverified Commit b5218a28 authored by Justin Hu's avatar Justin Hu Committed by GitHub
Browse files

document store and index store for elasticsearch (#12218)

parent da5be60b
No related branches found
No related tags found
No related merge requests found
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.codespell]
check-filenames = true
check-hidden = true
skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"
[tool.llamahub]
contains_example = false
import_path = "llama_index.storage.index_store.elasticsearch"
[tool.llamahub.class_authors]
ElasticsearchIndexStore = "llama-index"
[tool.mypy]
disallow_untyped_defs = true
exclude = ["_static", "build", "examples", "notebooks", "venv"]
ignore_missing_imports = true
python_version = "3.8"
[tool.poetry]
authors = ["Your Name <you@example.com>"]
description = "llama-index index_store elasticsearch integration"
exclude = ["**/BUILD"]
license = "MIT"
name = "llama-index-storage-index-store-elasticsearch"
readme = "README.md"
version = "0.1.2"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
llama-index-core = "^0.10.1"
llama-index-storage-kvstore-elasticsearch = "^0.1.1"
[tool.poetry.group.dev.dependencies]
ipython = "8.10.0"
jupyter = "^1.0.0"
mypy = "0.991"
pre-commit = "3.2.0"
pylint = "2.15.10"
pytest = "7.2.1"
pytest-mock = "3.11.1"
ruff = "0.0.292"
tree-sitter-languages = "^1.8.0"
types-Deprecated = ">=0.1.0"
types-PyYAML = "^6.0.12.12"
types-protobuf = "^4.24.0.4"
types-redis = "4.5.5.0"
types-requests = "2.28.11.8"
types-setuptools = "67.1.0.0"
[tool.poetry.group.dev.dependencies.black]
extras = ["jupyter"]
version = "<=23.9.1,>=23.7.0"
[tool.poetry.group.dev.dependencies.codespell]
extras = ["toml"]
version = ">=v2.2.6"
[[tool.poetry.packages]]
include = "llama_index/"
from llama_index.core.storage.index_store.keyval_index_store import KVIndexStore
from llama_index.storage.index_store.elasticsearch import ElasticsearchIndexStore
def test_class():
names_of_base_classes = [b.__name__ for b in ElasticsearchIndexStore.__mro__]
assert KVIndexStore.__name__ in names_of_base_classes
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment