Search functionality (API)
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 755
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
I didn't find any search functionality in the API, something like:
| |
v v
/api/v1/data/list?s=term&in=name,description
/api/v1/data/list/s/term/in/name,description (OpenML API style)
A full example:
/api/v1/data/list/s/term/in/name,description/limit/10/offset/5 (OpenML API style)
Currently there is just a filter by matching (1:1) string, but it would be great if we could execute:
SELECT ... WHERE name LIKE '%term%' GROUP BY ...;
SELECT ... WHERE lower(name) LIKE '%term%' GROUP BY ...; --- better: case insensitive
SELECT ... WHERE description LIKE '%term%' GROUP BY ...;
SELECT ... WHERE name LIKE '%term%' OR description LIKE '%term%' GROUP BY ...;
Contributor guide
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 by locating the /api/v1/data/list API entry point and reviewing how its current exact-string filter works. Define the search behavior for name and description, including case-insensitive matching, limit, and offset, then verify that the proposed query forms return the expected results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, sql
- Domain
- api, backend, search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100