yesodweb / yesodweb/persistent

Full Text / Natural language query support

Open
#606 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Haskell
Stars
486
Forks
306
PR merge metrics
No merged PRs in 30d

Description

Many DBs support the full-text/natural language query natively. This is a feature request to add support for doing these queries.

These are the links with details of the native support.

Mysql
Postgres
MongoDB

Since this feature may not be available in all back-ends, special operators may be added for the relevant backends.
I have tried mongoDBs $text in my sandbox and was able to get the query working fine.
But I would like to hear from others, what is the roadmap of supporting such features.

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

Review the issue's MySQL, PostgreSQL, and MongoDB full-text search references, then inspect how persistent represents backend-specific queries. Define the supported API or operators, identify behavior for backends without native support, and establish backend-specific tests as part of done.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, mongodb, mysql, postgresql
Domain
backend-api-design, 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.