llama-index-vector-stores-cairn
LlamaIndex vector store for Cairn, the hybrid search database where a deletion is final.
pip install llama-index-vector-stores-cairn
from cairn_db import Client
from llama_index.core import StorageContext, VectorStoreIndex
from llama_index.vector_stores.cairn import CairnVectorStore, collection_schema
admin = Client("http://localhost:7200", api_key=ADMIN_KEY)
admin.create_collection("docs", collection_schema(1536, filterable={"source": "Enum"}))
store = CairnVectorStore(Client("http://localhost:7200", api_key=KEY).collection("docs"))
index = VectorStoreIndex.from_documents(documents, storage_context=StorageContext.from_defaults(vector_store=store))
index.as_retriever(similarity_top_k=4).retrieve("what changed in 2024?")
index.delete_ref_doc("handbook.pdf") # the document and all its nodes, everywhere
- Storage. Each node is stored under its node id, with its source document in
parent, sodelete(ref_doc_id)is a single deletion by filter. The node's own serialization is kept, so nodes come back whole. - Filters. Metadata filters on
filterablefields:EQ,NE,GT,GTE,LT,LTE,IN,NIN,ANY,ALL,CONTAINS,IS_EMPTY, combined withAND,ORorNOT, and nested.doc_idsrestricts the query to those source documents. - Query modes.
DEFAULT(vector),HYBRID(vector + BM25, fused) andTEXT_SEARCH(BM25). - Not supported.
TEXT_MATCHfilters, and queries bynode_ids(useget_nodes). - Deletions are final. The client carries its consistency token, so later queries never return deleted nodes, on any node.
Metadata
Release files for llama-index-vector-stores-cairn 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_vector_stores_cairn-0.3.3.tar.gz | 5.7 kB | With provenance | Details for llama_index_vector_stores_cairn-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_vector_stores_cairn-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for llama_index_vector_stores_cairn-0.3.3-py3-none-any.whl |
Total release size: 11.2 kB
Release files / llama_index_vector_stores_cairn-0.3.3.tar.gz
| Download URL | llama_index_vector_stores_cairn-0.3.3.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b695ca9976556680ef3c828ceba9831deb6aad99b9af962106db725cacdfa3e
|
|
BLAKE2b-256 checksum How to use checksums |
9c21359abc8a0a4e19dfa701952762c00cd4c7f3a523d34ac0664a24fb2b1013
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logRelease files / llama_index_vector_stores_cairn-0.3.3-py3-none-any.whl
| Download URL | llama_index_vector_stores_cairn-0.3.3-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35c96f65f29d452b138b3960646a77d12ecd9c65844f9c16466571708b344a1f
|
|
BLAKE2b-256 checksum How to use checksums |
da48118d5f69de48856e4f8b08d886649cc3cf43d619ebcd8f92adaa8ffc6a3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logSecurity for llama-index-vector-stores-cairn 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for llama_index_vector_stores_cairn-0.3.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.