Skip to content

Add index on search terms for event log table #1171

@teon

Description

@teon

It is possible to add an expression index in Postgres: https://www.postgresql.org/docs/current/indexes-expressional.html

Since we support a simple text search on multiple columns by combining their content we could add a dedicated index for the expression we are using.
Unfortunately this requires some additional work because the text function we use for casting JSON metadata is locale-dependent which makes the expression not immutable.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Refinement ready

Relationships

None yet

Development

No branches or pull requests

Issue actions