9
Postgres Full Text Search
Source: directus/directus#24034 · opened by @ivank
Summary
Implement postgres' [full text search](
Basic Example
_No response_
Motivation
You cannot index fields bigger than 2704 chars, which is laughably small for any blog-like environment.
We are seeing errors like:
Detailed Design
When a field is marked as "indexed" and the field type is "text" switch from using normal b-tree based index in postgres to full text search, and use ts_vector for it.
Requirements List
Must Have:
• Index search for text fields of bigger size
Drawbacks
It would mean redoing some search queries, but would ultimately add more flexability in using directus search _directly_ by users
Alternatives
Elastic search implementation
Adoption Strategy
.
Unresolved Questions
_No response_
Implement postgres' [full text search](
Basic Example
_No response_
Motivation
You cannot index fields bigger than 2704 chars, which is laughably small for any blog-like environment.
We are seeing errors like:
Detailed Design
When a field is marked as "indexed" and the field type is "text" switch from using normal b-tree based index in postgres to full text search, and use ts_vector for it.
Requirements List
Must Have:
• Index search for text fields of bigger size
Drawbacks
It would mean redoing some search queries, but would ultimately add more flexability in using directus search _directly_ by users
Alternatives
Elastic search implementation
Adoption Strategy
.
Unresolved Questions
_No response_
No pledges yet. Be the first to back this.
Comments
Similar requests
Let text be selectable in the Studio
3 votes · 0 comments
Add plain text to Send Email Operation
1 vote · 0 comments
JSONB and GIN support for PostgreSQL
3 votes · 0 comments
Add Full Screen Mode Support for Block Editor (JSON Blocks)
3 votes · 0 comments
Update count in notification badge
9 votes · 0 comments
No comments yet.