Directories
¶
| Path | Synopsis |
|---|---|
|
Package searchpagination adapts a text index's cursor pagination to the filtering.QueryFilter pagination an API hands back to clients, and runs the index-then-hydrate loop that a text search always is.
|
Package searchpagination adapts a text index's cursor pagination to the filtering.QueryFilter pagination an API hands back to clients, and runs the index-then-hydrate loop that a text search always is. |
|
Package searchsync keeps a search index in step with the database it is derived from.
|
Package searchsync keeps a search index in step with the database it is derived from. |
|
source
Package syncsource adapts a repository to the two read seams searchsync defines: searchsync.Fetcher, which the change feed reads one document per event through, and searchsync.Scanner, which a reindex walks the whole source with.
|
Package syncsource adapts a repository to the two read seams searchsync defines: searchsync.Fetcher, which the change feed reads one document per event through, and searchsync.Scanner, which a reindex walks the whole source with. |
|
Package textsearch defines an interface for a search index management structure
|
Package textsearch defines an interface for a search index management structure |
|
algolia
Package algolia provides an interface-compatible wrapper around the algolia indexer
|
Package algolia provides an interface-compatible wrapper around the algolia indexer |
|
config
Package textsearchcfg selects and builds a text search index from configuration: Elasticsearch, Algolia, or noop.
|
Package textsearchcfg selects and builds a text search index from configuration: Elasticsearch, Algolia, or noop. |
|
elasticsearch
Package elasticsearch provides an interface-compatible wrapper around the elasticsearch indexer
|
Package elasticsearch provides an interface-compatible wrapper around the elasticsearch indexer |
|
mock
Package textsearchmock provides moq-generated mocks for the search/text package.
|
Package textsearchmock provides moq-generated mocks for the search/text package. |
|
noop
Package noop is the textsearch.Index for a service with no search cluster: Index, Delete, and Wipe all succeed and keep nothing, and Search returns zero hits.
|
Package noop is the textsearch.Index for a service with no search cluster: Index, Delete, and Wipe all succeed and keep nothing, and Search returns zero hits. |
|
Package vectorsearch provides a generic interface for vector (nearest-neighbor) search backends, parallel to the textsearch package under search/text.
|
Package vectorsearch provides a generic interface for vector (nearest-neighbor) search backends, parallel to the textsearch package under search/text. |
|
config
Package vectorsearchcfg selects and builds a vector search index from configuration: pgvector, Qdrant, or noop.
|
Package vectorsearchcfg selects and builds a vector search index from configuration: pgvector, Qdrant, or noop. |
|
mock
Package vectorsearchmock provides moq-generated mocks for the search/vector package.
|
Package vectorsearchmock provides moq-generated mocks for the search/vector package. |
|
noop
Package noop is the vectorsearch.Index for a deployment running no vector store: Upsert, Delete, and Wipe report success without keeping anything, and Query returns an empty result slice.
|
Package noop is the vectorsearch.Index for a deployment running no vector store: Upsert, Delete, and Wipe report success without keeping anything, and Query returns an empty result slice. |
|
pgvector
Package pgvector implements vectorsearch.Index against a PostgreSQL database running the pgvector extension.
|
Package pgvector implements vectorsearch.Index against a PostgreSQL database running the pgvector extension. |
|
qdrant
Package qdrant implements vectorsearch.Index against a Qdrant vector database over its REST API.
|
Package qdrant implements vectorsearch.Index against a Qdrant vector database over its REST API. |
Click to show internal directories.
Click to hide internal directories.