Automattic / Automattic/jetpack

Search: add SQL WHERE clause support to our API?

Open
#16,884 0 comments 0 reactions 0 assignees View on GitHub
[Feature] Search New Feature
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Would our API be more approachable if we let users query it with SQL using something like https://www.elastic.co/what-is/elasticsearch-sql

This may make it easier for users to customize their search query filtering. Similar to our existing filtering we wouldn't need to support the entire syntax.

Contributor guide

Open the contributing guide

Research direction

Start by locating the API's existing search filtering behavior and comparing it with the linked Elasticsearch SQL example. Determine whether a limited SQL WHERE syntax is appropriate, which subset would be supported, and how completion would be validated against the current filtering behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, sql
Domain
api, search
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.