Skip to main content
Ctrl+K
🦜🔗 LangChain  documentation - Home

Site Navigation

  • Core
  • Langchain
  • Text Splitters
  • AI21
  • Airbyte
    • Anthropic
    • AstraDB
    • AWS
    • Azure Dynamic Sessions
    • Chroma
    • Cohere
    • Couchbase
    • Elasticsearch
    • Exa
    • Fireworks
    • Google Community
    • Google GenAI
    • Google VertexAI
    • Groq
    • Huggingface
    • Milvus
    • MistralAI
    • MongoDB
    • Nomic
    • Nvidia Ai Endpoints
    • Ollama
    • OpenAI
    • Pinecone
    • Postgres
    • Prompty
    • Qdrant
    • Robocorp
    • Together
    • Unstructured
    • VoyageAI
    • Weaviate
  • LangChain docs
  • GitHub
  • X / Twitter

Site Navigation

  • Core
  • Langchain
  • Text Splitters
  • AI21
  • Airbyte
    • Anthropic
    • AstraDB
    • AWS
    • Azure Dynamic Sessions
    • Chroma
    • Cohere
    • Couchbase
    • Elasticsearch
    • Exa
    • Fireworks
    • Google Community
    • Google GenAI
    • Google VertexAI
    • Groq
    • Huggingface
    • Milvus
    • MistralAI
    • MongoDB
    • Nomic
    • Nvidia Ai Endpoints
    • Ollama
    • OpenAI
    • Pinecone
    • Postgres
    • Prompty
    • Qdrant
    • Robocorp
    • Together
    • Unstructured
    • VoyageAI
    • Weaviate
  • LangChain docs
  • GitHub
  • X / Twitter

Section Navigation

  • cache
  • chat_history
  • client
  • embeddings
  • retrievers
  • vectorstores
    • ElasticsearchStore
    • ApproxRetrievalStrategy
    • BM25RetrievalStrategy
    • BaseRetrievalStrategy
    • ExactRetrievalStrategy
    • SparseRetrievalStrategy
  • langchain_elasticsearch 0.2.2

vectorstores#

Classes

vectorstores.ElasticsearchStore(index_name, ...)

Elasticsearch vector store.

Deprecated classes

vectorstores.ApproxRetrievalStrategy([...])

vectorstores.BM25RetrievalStrategy([k1, b])

vectorstores.BaseRetrievalStrategy(*args, ...)

vectorstores.ExactRetrievalStrategy(*args, ...)

vectorstores.SparseRetrievalStrategy([model_id])

previous

ElasticsearchRetriever

next

ElasticsearchStore

© Copyright 2023, LangChain Inc.