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

Implement Query API #91

Open
16 of 23 tasks
drmarjanovic opened this issue Feb 8, 2023 · 4 comments
Open
16 of 23 tasks

Implement Query API #91

drmarjanovic opened this issue Feb 8, 2023 · 4 comments
Labels
good first issue Good for newcomers lambda-hacks-1 1st ZIO Elasticsearch LambdaWorks' Hackathon (June 24th, 2023)
Milestone

Comments

@drmarjanovic
Copy link
Collaborator

drmarjanovic commented Feb 8, 2023

Queries

  • fuzzyQuery
  • geoBoundingBoxQuery
  • geoDistanceQuery
  • geoPolygonQuery
  • geoShapeQuery
  • hasChildQuery
  • hasParentQuery
  • idsQuery
  • intervalsQuery
  • matchBooleanPrefixQuery
  • matchPhraseQuery
  • matchPhrasePrefixQuery
  • multiMatchQuery
  • nestedQuery
  • prefixQuery
  • regexpQuery
  • scriptQuery
  • scriptScoreQuery
  • shapeQuery
  • simpleQueryStringQuery
  • termsQuery
  • termsSetQuery
  • queryStringQuery

Tips

  • Find comprehensive info about the query you are going to implement here
  • Define query in zio.elasticsearch.query.Queries
  • Define the public method that represents DSL for the query in the zio.elasticsearch.ElasticQuery, add scaladoc and website documentation for it
  • Support additional parameters such as "boost", "case insensitive", etc. in the zio.elasticsearch.query package
  • Provide unit tests in the zio.elasticsearch.ElasticQuerySpec to confirm behavior
  • Provide integration tests (it module) in the zio.elasticsearch.HttpExectorSpec to confirm the behavior
  • 😇 Feel free to extend other tests as well
  • 😊 Feel free to address any follow-up issue either for the query you are implementing or implemented one already

Note: You can use #48 as a reference. If you feel that the pull request size is growing out of control, feel free to split it but make sure to link this issue in each of the related PRs.

@petarcurcin
Copy link
Contributor

I'm taking prefixQuery

@LeonaNedeljkovic
Copy link
Contributor

I'm taking geoPolygonQuery

@bojanbla
Copy link

I'm taking geoShapeQuery

@filipmilo
Copy link
Contributor

Taking idsQuery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers lambda-hacks-1 1st ZIO Elasticsearch LambdaWorks' Hackathon (June 24th, 2023)
Projects
None yet
Development

No branches or pull requests

6 participants