openml / openml/OpenML

Search functionality (API)

Open
#900 0 comments 0 reactions 0 assignees View on GitHub

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.