Documentation
¶
Overview ¶
Package elastic is Fabriq's native Elasticsearch search adapter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SearchTargetName ¶
SearchTargetName names the search projection's versioned rebuild target.
Types ¶
type Adapter ¶
Adapter implements the search query and projection ports using Elasticsearch.
type ModelVersionResolver ¶
type ModelVersionResolver = search.ModelVersionResolver
ModelVersionResolver reports the live search model version for a tenant.
type Option ¶
type Option func(*Adapter)
Option customizes the adapter.
func WithModelVersionResolver ¶
func WithModelVersionResolver(fn ModelVersionResolver) Option
WithModelVersionResolver wires the projection-state-backed live version.
Click to show internal directories.
Click to hide internal directories.