Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FcTranslator = ql.NewTranslator(ql.PqFilterConditionsDialect)
FcTranslator is the filter conditions translator from simila QL to the Postgres dialect
Functions ¶
func Migrations ¶ added in v0.56.0
Migrations returns migrations to be applied on top of the "common" migrations for the "groonga" search module to work, the "groonga" module migration IDs range is [1000-1999].
func Search ¶ added in v0.56.0
func Search(ctx context.Context, qx sqlx.QueryerContext, q persistence.SearchQuery) (persistence.SearchQueryResult, error)
Search is an implementation of the postgres.SearchFn function based on the "pgroonga" postgres extension. SearchQuery.TextQuery must be formed in accordance with the "pgroonga" query syntax, see https://pgroonga.github.io/reference/operators/query-v2.html.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.