Documentation
¶
Overview ¶
Package searchtest holds the backend-agnostic conformance suite for search.Store implementations. The bundled Bleve backend runs it; a backend that reaches the same engine some other way reuses it unchanged, which is what keeps "search on a laptop" and "search hosted" behaviourally identical behind the interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Settle, when set, is called after every write and must return once that
// write is visible to a Query. A backend that applies writes
// asynchronously supplies it; a synchronous backend leaves it nil.
Settle func(t *testing.T, s search.Store, tenant, collection string)
}
Options adapts the suite to a backend.
Click to show internal directories.
Click to hide internal directories.