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

Query builder API #7

Open
Frando opened this issue Dec 13, 2019 · 1 comment
Open

Query builder API #7

Frando opened this issue Dec 13, 2019 · 1 comment

Comments

@Frando
Copy link
Member

Frando commented Dec 13, 2019

Discuss the API added in #1:

Especially:

  • When do functions return this, when do they return a plain object? The term method returns a plain object, and this is used within the bool query - however, coudn't a term query also standalone?
  • How will the searchquerybuilder relate to other queries?
  • SearchQueryBuilder is a bit long of a name
@hng
Copy link
Contributor

hng commented Dec 16, 2019

In general I am still unsure what the way is to create a dsl style query api with javascript. I think the term part is only used inside a bool query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants