Directories
¶
| Path | Synopsis |
|---|---|
|
adapters
|
|
|
handlers/graphql
Package graphql provides the graphql endpoint for Weaviate
|
Package graphql provides the graphql endpoint for Weaviate |
|
handlers/graphql/descriptions
Package descriptions provides the descriptions as used by the graphql endpoint for Weaviate
|
Package descriptions provides the descriptions as used by the graphql endpoint for Weaviate |
|
handlers/graphql/graphiql
Based on `graphiql.go` from https://github.com/graphql-go/handler only made RenderGraphiQL a public function.
|
Based on `graphiql.go` from https://github.com/graphql-go/handler only made RenderGraphiQL a public function. |
|
handlers/graphql/local/aggregate
Package aggregate provides the local aggregate graphql endpoint for Weaviate
|
Package aggregate provides the local aggregate graphql endpoint for Weaviate |
|
handlers/graphql/local/common_filters
Package common_filters provides the filters for the graphql endpoint for Weaviate
|
Package common_filters provides the filters for the graphql endpoint for Weaviate |
|
handlers/graphql/utils
Package utils provides utility methods and classes to support the graphql endpoint for Weaviate
|
Package utils provides utility methods and classes to support the graphql endpoint for Weaviate |
|
handlers/grpc/grpcweb
Package grpcweb exposes the gRPC API over grpc-web/Connect so browsers can reach it directly.
|
Package grpcweb exposes the gRPC API over grpc-web/Connect so browsers can reach it directly. |
|
handlers/rest
Package rest with all rest API functions.
|
Package rest with all rest API functions. |
|
handlers/rest/restcompat
Package restcompat synthesises legacy fields on REST responses only.
|
Package restcompat synthesises legacy fields on REST responses only. |
|
repos/db
Some standard accessors for the shard struct.
|
Some standard accessors for the shard struct. |
|
repos/db/clusterintegrationtest
clusterintegrationtest acts as a test package to provide a component test spanning multiple parts of the application, including everything that's required for a distributed setup.
|
clusterintegrationtest acts as a test package to provide a component test spanning multiple parts of the application, including everything that's required for a distributed setup. |
|
repos/db/inverted/blockenc
Package blockenc holds the block-level serialization codec for the inverted (BlockMax BM25) segment format: packing docID/term-frequency arrays into terms.BlockData and (de)serializing sequences of blocks to and from the on-disk byte layout.
|
Package blockenc holds the block-level serialization codec for the inverted (BlockMax BM25) segment format: packing docID/term-frequency arrays into terms.BlockData and (de)serializing sequences of blocks to and from the on-disk byte layout. |
|
repos/db/lsmkv
Bucket snapshots provide a frozen, read-only view of an LSM bucket's on-disk data at the moment the internal flush completes.
|
Bucket snapshots provide a frozen, read-only view of an LSM bucket's on-disk data at the moment the internal flush completes. |
|
repos/db/lsmkv/editops
Package editops holds the neutral type vocabulary for segment edit operations: the op descriptors persisted in the lsmkv sidecar and the transformer-factory signature.
|
Package editops holds the neutral type vocabulary for segment edit operations: the op descriptors persisted in the lsmkv sidecar and the transformer-factory signature. |
|
repos/db/lsmkv/entities
ent contains common types used throughout various lsmkv (sub-)packages
|
ent contains common types used throughout various lsmkv (sub-)packages |
|
repos/db/lsmkv/gobenc
Package gobenc provides allocation-efficient encoding and decoding of map[uint64]uint32.
|
Package gobenc provides allocation-efficient encoding and decoding of map[uint64]uint32. |
|
repos/db/multitenancy
Package multitenancy provides tenant validation strategies for Weaviate collections based on their multi-tenancy configuration.
|
Package multitenancy provides tenant validation strategies for Weaviate collections based on their multi-tenancy configuration. |
|
repos/db/queue
Queue package implements a queue system for background operations using disk storage.
|
Queue package implements a queue system for background operations using disk storage. |
|
repos/db/roaringset
Package roaringset contains all the LSM business logic that is unique to the "RoaringSet" strategy
|
Package roaringset contains all the LSM business logic that is unique to the "RoaringSet" strategy |
|
repos/db/sharding
Package resolver provides shard resolution strategies for Weaviate collections based on their configuration.
|
Package resolver provides shard resolution strategies for Weaviate collections based on their configuration. |
|
repos/db/transformers
Package transformers is the single source of truth for the segment edit-op value transformers.
|
Package transformers is the single source of truth for the segment edit-op value transformers. |
|
repos/db/vector/compressionhelpers
Package compressionhelpers provides vector compression algorithms for HNSW indexes.
|
Package compressionhelpers provides vector compression algorithms for HNSW indexes. |
|
repos/db/vector/hnsw/compact
Package compact manages HNSW commit log storage: reading, writing, merging, and compacting commit logs into snapshots for efficient index persistence and fast startup times.
|
Package compact manages HNSW commit log storage: reading, writing, merging, and compacting commit logs into snapshots for efficient index persistence and fast startup times. |
|
repos/db/vector/hnsw/distancer/asm
asm only has amd64 specific implementations at the moment
|
asm only has amd64 specific implementations at the moment |
|
distributedtask
Package distributedtask coordinates long-running operations (e.g.
|
Package distributedtask coordinates long-running operations (e.g. |
|
namespaces
Package namespaces is the RAFT FSM adapter for namespace control-plane state.
|
Package namespaces is the RAFT FSM adapter for namespace control-plane state. |
|
replication/changelog
Package changelog provides an append-only, per-op change capture log used by replica movement to deterministically replay writes that land on the source after the file snapshot is taken.
|
Package changelog provides an append-only, per-op change capture log used by replica movement to deterministically replay writes that land on the source after the file snapshot is taken. |
|
replication/copier/internal/changelogdrain
Package changelogdrain pulls ChangeLogStreamEntry messages from a gRPC server-streaming client, batches them, and flushes via a caller-supplied apply func.
|
Package changelogdrain pulls ChangeLogStreamEntry messages from a gRPC server-streaming client, batches them, and flushes via a caller-supplied apply func. |
|
router
Package router provides an abstraction for determining the optimal routing plans for reads and writes within a Weaviate cluster.
|
Package router provides an abstraction for determining the optimal routing plans for reads and writes within a Weaviate cluster. |
|
cmd
|
|
|
weaviate-server
command
|
|
|
Code generated by go generate; DO NOT EDIT.
|
Code generated by go generate; DO NOT EDIT. |
|
entities
|
|
|
concurrency/testinghelpers
Package testinghelpers provides shared assertions for concurrency-budget tests: verifying hot read paths don't fan out more goroutines than budgeted.
|
Package testinghelpers provides shared assertions for concurrency-budget tests: verifying hot read paths don't fan out more goroutines than budgeted. |
|
modelsext
Package modelsext provides extension methods to the structures in the models package.
|
Package modelsext provides extension methods to the structures in the models package. |
|
moduletools
moduletools contains helpers that are passed to modules as part of their capability methods
|
moduletools contains helpers that are passed to modules as part of their capability methods |
|
tokenizer
Package tokenizer provides text tokenization and accent folding for Weaviate's inverted index.
|
Package tokenizer provides text tokenization and accent folding for Weaviate's inverted index. |
|
grpc
|
|
|
modules
|
|
|
text2vec-contextionary
modcontextionary concentrates some of the code that relates to the contextionary module, this must be extracted when Weaviate becomes modular.
|
modcontextionary concentrates some of the code that relates to the contextionary module, this must be extracted when Weaviate becomes modular. |
|
test
|
|
|
acceptance/helpers/reindex
Package reindexhelpers provides HTTP-level helpers shared across the runtime-reindex acceptance test packages.
|
Package reindexhelpers provides HTTP-level helpers shared across the runtime-reindex acceptance test packages. |
|
benchmark
command
|
|
|
docker/mockoidc
command
|
|
|
docker/mockoidchelper
command
|
|
|
helper/backuptest
Package backuptest provides self-contained test infrastructure for backup integration tests.
|
Package backuptest provides self-contained test infrastructure for backup integration tests. |
|
helper/compactions
Package compactions inspects LSM segment state from outside a running Weaviate container — the only blackbox way to detect compaction activity in acceptance tests.
|
Package compactions inspects LSM segment state from outside a running Weaviate container — the only blackbox way to detect compaction activity in acceptance tests. |
|
benchmark_bm25
module
|
|
|
tools
|
|
|
dev/generate_release_notes
command
|
|
|
license_headers
command
|
|
|
release_template
command
|
|
|
swagger_custom_code
command
|
|
|
telemetry-dashboard
command
|
|
|
usecases
|
|
|
auth/authorization/rolevisibility
Package rolevisibility decides whether a caller may see another subject's assigned role, given the role's stored name and policies.
|
Package rolevisibility decides whether a caller may see another subject's assigned role, given the role's stored name and policies. |
|
byteops
Package byteops provides helper functions to (un-) marshal objects from or into a buffer
|
Package byteops provides helper functions to (un-) marshal objects from or into a buffer |
|
mmap
Package mmap is replicating the functionality of the mmap-go package, however, it optimizes usage on darwin and linux to use raw syscalls instead of the golang.org/x/sys/unix package which introduces an additional mutex.
|
Package mmap is replicating the functionality of the mmap-go package, however, it optimizes usage on darwin and linux to use raw syscalls instead of the golang.org/x/sys/unix package which introduces an additional mutex. |
|
namespace_cleanup
Package namespacecleanup runs the leader-side cascade that empties a namespace once it has been marked for deletion.
|
Package namespacecleanup runs the leader-side cascade that empties a namespace once it has been marked for deletion. |
|
namespaces
Package namespaces owns the namespace control-plane state and exposes a typed domain API for callers that need direct existence checks.
|
Package namespaces owns the namespace control-plane state and exposes a typed domain API for callers that need direct existence checks. |
|
objects
package objects provides managers for all kind-related items, such as objects.
|
package objects provides managers for all kind-related items, such as objects. |
|
replica/errors
Package errors centralises error types and sentinel values for the replication subsystem.
|
Package errors centralises error types and sentinel values for the replication subsystem. |
|
schema
Package migrate provides a simple composer tool, which implements the Migrator interface and can take in any number of migrators which themselves have to implement the interface
|
Package migrate provides a simple composer tool, which implements the Migrator interface and can take in any number of migrators which themselves have to implement the interface |
|
schema/namespacing
Package namespacing provides the helpers used to qualify collection, alias, user, and role names (and RBAC resource paths) with their owning namespace, and to resolve them back.
|
Package namespacing provides the helpers used to qualify collection, alias, user, and role names (and RBAC resource paths) with their owning namespace, and to resolve them back. |
|
usagelimits
Package usagelimits enforces server-side usage limits configured via env vars and runtime overrides.
|
Package usagelimits enforces server-side usage limits configured via env vars and runtime overrides. |
Click to show internal directories.
Click to hide internal directories.
