Does Opensolr work with LangChain?

Hybrid Search

Yes. Opensolr is a native LangChain vector store, listed in the official LangChain integrations directory. Install it with:

pip install langchain-opensolr

You get OpensolrVectorStore and OpensolrEmbeddings: texts and queries are embedded server-side on our GPU infrastructure (multilingual, 1024 dimensions) — no OpenAI key, no local model — and search runs hybrid BM25 + kNN, fused per document with a tunable semantic↔lexical balance. It is the shortest vector-store setup in the LangChain directory: an API key and an index name. vs.as_retriever() drops it into any chain, agent, or RAG tutorial.

Learn more: LangChain integration page · PyPI package · Source on GitHub