itzg / itzg/try-postgres-arrays
Add example of searching by tags
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
GET /tasks could accept query param of anyOfTags or allOfTags
https://www.postgresql.org/docs/current/functions-array.html
Use GIN index
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the GET /tasks endpoint and review the existing task and tag representation. Consult the PostgreSQL array functions documentation and determine how anyOfTags and allOfTags should map to queries using a GIN index. Done means both query parameters work as described and the example demonstrates tag searching.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, postgresql
- Domain
- api, backend, databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100