luckyframework / luckyframework/avram

Maybe add postgres full text search helpers

Open
#353 5 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Crystal
Stars
183
Forks
67
PR merge metrics
No merged PRs in 30d

Description

https://pganalyze.com/blog/full-text-search-ruby-rails-postgres

See an example implementation here: https://github.com/wezm/read-rust/blob/f8b50f2c59d9e0454362be43bb0f4d3f66a8860b/crystal/src/queries/post_query.cr

https://www.postgresql.org/docs/11/textsearch-controls.html see "websearch_to_query"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked pganalyze article and PostgreSQL text-search-controls documentation, especially websearch_to_query, then compare the example implementation in crystal/src/queries/post_query.cr. The issue does not name Avram files, tests, or a concrete acceptance criterion, so the helper scope and definition of done need to be established before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
crystal, postgresql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.