Skip to content

Implement Query API #91

Open
Open
@drmarjanovic

Description

@drmarjanovic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerslambda-hacks-11st ZIO Elasticsearch LambdaWorks' Hackathon (June 24th, 2023)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions