Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create class for interacting with ElasticPress.io search APIs #3353

Open
1 task done
JakePT opened this issue Mar 1, 2023 · 0 comments
Open
1 task done

Create class for interacting with ElasticPress.io search APIs #3353

JakePT opened this issue Mar 1, 2023 · 0 comments
Labels
enhancement medium (4 - 16 hours)
Milestone

Comments

@JakePT
Copy link
Contributor

JakePT commented Mar 1, 2023

Is your enhancement related to a problem? Please describe.

As of 4.5.0 we will have two features that interact with ElasticPress.io search APIs:

  • Instant Results
  • WooCommerce Orders Autosuggest.

Currently each feature has its own code for:

  • Generating a query template.
  • Creating or deleting the template on EP.io.
  • Defining facets and their aggregations.
  • Defining supported arguments.

Much of this could be abstracted into a single class that could accept some configuration details and take care of the code that is currently repeated between each feature. This would make it easier to implement future APIs.

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@JakePT JakePT self-assigned this Mar 1, 2023
@felipeelia felipeelia added this to the 5.0.0 milestone Mar 1, 2023
@felipeelia felipeelia modified the milestones: 5.0.0, 4.7.0 Jun 16, 2023
@felipeelia felipeelia modified the milestones: 4.7.0, 5.0.0 Jul 18, 2023
@felipeelia felipeelia modified the milestones: 5.0.0, 5.1.0 Nov 1, 2023
@felipeelia felipeelia modified the milestones: 5.1.0, 5.2.0 Feb 6, 2024
@felipeelia felipeelia added the medium (4 - 16 hours) label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement medium (4 - 16 hours)
Projects
None yet
Development

No branches or pull requests

2 participants