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

[BUG] Parsing exception of date_range and range aggregation response #369

Closed
szczepanczykd opened this issue Feb 20, 2023 · 3 comments
Closed
Labels
bug Something isn't working untriaged

Comments

@szczepanczykd
Copy link
Collaborator

szczepanczykd commented Feb 20, 2023

What is the bug?

Cannot parse DateRangeAggregate / RangeAggregate buckets because of missing 'key' mapping:
JsonParsing Property name 'key' is not in the 'type#name' format. Make sure the request has 'typed_keys' set.

An example JSON sent by API:

{
  "aggregations": {
    "expiry_ranges": {
      "date_range": {
        "field": "expDate",
        "ranges": [
          {
            "from": 1676937600000,
            "key": "from-1-to-2-days",
            "to": 1677110399000
          },
          {
            "from": 1677110400000,
            "key": "from-3-to-4-days",
            "to": 1677283199000
          },
          {
            "from": 1677283200000,
            "key": "from-5-to-6-days",
            "to": 1677455999000
          }
        ]
      }
    }
  },
  "size": 0
}

OpenSearch response:

{
  "took": 53,
  "timed_out": false,
  "_shards": {
    "total": 1,
    "successful": 1,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 6,
      "relation": "eq"
    },
    "max_score": null,
    "hits": []
  },
  "aggregations": {
    "date_range#expiry_ranges": {
      "buckets": [
        {
          "key": "from-1-to-2-days",
          "from": 1676937600000,
          "from_as_string": "2023-02-21T00:00:00.000Z",
          "to": 1677110399000,
          "to_as_string": "2023-02-22T23:59:59.000Z",
          "doc_count": 2
        },
        {
          "key": "from-3-to-4-days",
          "from": 1677110400000,
          "from_as_string": "2023-02-23T00:00:00.000Z",
          "to": 1677283199000,
          "to_as_string": "2023-02-24T23:59:59.000Z",
          "doc_count": 2
        },
        {
          "key": "from-5-to-6-days",
          "from": 1677283200000,
          "from_as_string": "2023-02-25T00:00:00.000Z",
          "to": 1677455999000,
          "to_as_string": "2023-02-26T23:59:59.000Z",
          "doc_count": 2
        }
      ]
    }
  }
}

Then we have the parsing error:
jakarta.json.stream.JsonParsingException: Property name 'key' is not in the 'type#name' format. Make sure the request has 'typed_keys' set.

How can one reproduce the bug?

Please check this repo: https://github.com/szczepanczykd/opensearch_date_range_aggregation_issue
I've created a small demo for that.

What is the expected behavior?

The response is parsed and the client returns without JsonParsingException.

What is your host/environment?

Windows 10
$ docker-compose -v Docker Compose version v2.12.0
Maven OpenSearch version:
<opensearch.java.version>2.2.0</opensearch.java.version>

Do you have any screenshots?

image

Do you have any additional context?

The "buckets" array has items with a "key" property which is not configured in the RangeBucket class.
I did some fix with additional integration tests.
I will create PR in the next stage -> PR: #370

@szczepanczykd szczepanczykd added bug Something isn't working untriaged labels Feb 20, 2023
szczepanczykd added a commit to szczepanczykd/opensearch-java that referenced this issue Feb 20, 2023
szczepanczykd added a commit to szczepanczykd/opensearch-java that referenced this issue Feb 20, 2023
szczepanczykd added a commit to szczepanczykd/opensearch-java that referenced this issue Feb 20, 2023
szczepanczykd added a commit to szczepanczykd/opensearch-java that referenced this issue Feb 20, 2023
szczepanczykd added a commit to szczepanczykd/opensearch-java that referenced this issue Feb 20, 2023
szczepanczykd added a commit to szczepanczykd/opensearch-java that referenced this issue Feb 20, 2023
dblock pushed a commit that referenced this issue Feb 28, 2023
* test: create integration tests for date_range and range aggregation (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* fix: add a missing key propery to the RangeBucket (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* docs: add CHANGELOG entry (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
@szczepanczykd
Copy link
Collaborator Author

Awaiting release :)

@dblock
Copy link
Member

dblock commented Feb 28, 2023

Closed via #370

@VachaShah signed up to doing a release I hear ;))

@VachaShah
Copy link
Collaborator

Closed via #370

@VachaShah signed up to doing a release I hear ;))

Yes tracking the release in #380 :)

opensearch-trigger-bot bot pushed a commit that referenced this issue Feb 28, 2023
* test: create integration tests for date_range and range aggregation (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* fix: add a missing key propery to the RangeBucket (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* docs: add CHANGELOG entry (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
(cherry picked from commit 99d0e6a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dblock pushed a commit that referenced this issue Feb 28, 2023
* Feature/range aggregation fix 369 (#370)

* test: create integration tests for date_range and range aggregation (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* fix: add a missing key propery to the RangeBucket (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* docs: add CHANGELOG entry (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
(cherry picked from commit 99d0e6a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Fixing compile errors

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Vacha Shah <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Vacha Shah <[email protected]>
MarinaRazumovsky pushed a commit to MarinaRazumovsky/opensearch-java that referenced this issue Mar 19, 2023
* test: create integration tests for date_range and range aggregation (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* fix: add a missing key propery to the RangeBucket (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* docs: add CHANGELOG entry (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>
MarinaRazumovsky pushed a commit to MarinaRazumovsky/opensearch-java that referenced this issue Mar 19, 2023
* test: create integration tests for date_range and range aggregation (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* fix: add a missing key propery to the RangeBucket (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* docs: add CHANGELOG entry (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>
MarinaRazumovsky pushed a commit to MarinaRazumovsky/opensearch-java that referenced this issue Mar 20, 2023
* test: create integration tests for date_range and range aggregation (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* fix: add a missing key propery to the RangeBucket (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* docs: add CHANGELOG entry (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>
dblock added a commit that referenced this issue Mar 21, 2023
* Adding x-amz-content-sha256 header for signed requests (#339)

* Adding X-Amz-Content-Sha256 header for signed requests

Signed-off-by: Vacha Shah <[email protected]>

* Adding CHANGELOG entry

Signed-off-by: Vacha Shah <[email protected]>

* Adding documentation comment

Signed-off-by: Vacha Shah <[email protected]>

* Adding tests

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

* Removing refresh policy for integ tests for Sigv4

Signed-off-by: Vacha Shah <[email protected]>

* Updating the developer guide

Signed-off-by: Vacha Shah <[email protected]>

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Fix issue with completion suggester being parsed as term suggester. (#347)

* Fix issue with completion suggester being parsed as term suggester.

This commit fixes the issue where a completion suggester search request
was being parsed as a term suggester and failing due to "Missing
required property 'TermSuggestOption.score'"

This solution was originally proposed by Github user @apatrida

Signed-off-by: Dan Hart <[email protected]>

* Remove commented code

Signed-off-by: Dan Hart <[email protected]>

* Fix format of changelog item

Signed-off-by: Dan Hart <[email protected]>

Signed-off-by: Dan Hart <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Update USER_GUIDE to use exact AWS brand names (#352)

Minor update to use exact brand names. "OpenSearch" is rather overloaded
to I find it less confusing to be precise in the naming.

Signed-off-by: Andrew Ross <[email protected]>

Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Bumps Jackson from 2.14.1 to 2.14.2 (#357)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Bulk UpdateOperation misses upsert options (#353)

* Bulk UpdateOperation misses upsert options

Signed-off-by: Andriy Redko <[email protected]>

* Fix formatting

Signed-off-by: Andriy Redko <[email protected]>

---------

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Upgrading compatibility to opensearch 2.5 (#367)

* Upgrading compatibility to opensearch 2.5

Signed-off-by: amitai stern <[email protected]>

* latest 2.4 version

Signed-off-by: amitai stern <[email protected]>

* keep existing compatibility matrix rows, this pr adds a new row for versions of opensearch after 2.3.0

Signed-off-by: amitai stern <[email protected]>

---------

Signed-off-by: amitai stern <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* add option to set columns into cat indices request

Signed-off-by: MarinaRazumovsky <[email protected]>

* add changelog

Signed-off-by: MarinaRazumovsky <[email protected]>

* changes in CatRequestBase, IndicesRequest, NodesRequest, RecoveryRequest and add tests

Signed-off-by: MarinaRazumovsky <[email protected]>

* Feature/range aggregation fix 369 (#370)

* test: create integration tests for date_range and range aggregation (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* fix: add a missing key propery to the RangeBucket (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* docs: add CHANGELOG entry (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Fixing integration tests (#375)

* Fixing integration tests

Signed-off-by: Vacha Shah <[email protected]>

* Updating the test with a non-exact check

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Adding bulk request example in user guide (#373)

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Fixing issue when tracktotalhits is disabled (#372)

* Fixing issue when tracktotalhits is disabled

Signed-off-by: Vacha Shah <[email protected]>

* Update Changelog

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* changes changelog

Signed-off-by: MarinaRazumovsky <[email protected]>

* Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 (#390)

* Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.154 to 4.8.156.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.154...classgraph-4.8.156)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Add 2PR approval to release workflow (#383)

Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Adding an example to use raw JSON class instead of target classes (#385)

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Update Gradle to 8.0.2 (#392)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Add "mappings" field to IndexSettings object (#382)

Signed-off-by: Ilya Lukyanovich <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Created untriaged issue workflow. (#364)

Signed-off-by: dblock <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Bump io.github.classgraph:classgraph from 4.8.156 to 4.8.157 in /java-client (#403)

* Bump io.github.classgraph:classgraph in /java-client

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.156 to 4.8.157.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.156...classgraph-4.8.157)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Add buffered lookahead for Jackson (#338)

Signed-off-by: luneo7 <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Mask env values for snapshots (#411)

Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* option to set headers and sort into cat requests

Signed-off-by: MarinaRazumovsky <[email protected]>

* fix test

Signed-off-by: MarinaRazumovsky <[email protected]>

* fix changelog

Signed-off-by: MarinaRazumovsky <[email protected]>

* add cat examples into USER_GUID

Signed-off-by: MarinaRazumovsky <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>
Signed-off-by: Dan Hart <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: amitai stern <[email protected]>
Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Ilya Lukyanovich <[email protected]>
Signed-off-by: dblock <[email protected]>
Signed-off-by: luneo7 <[email protected]>
Co-authored-by: Vacha Shah <[email protected]>
Co-authored-by: Danny Hart <[email protected]>
Co-authored-by: Andrew Ross <[email protected]>
Co-authored-by: Andriy Redko <[email protected]>
Co-authored-by: amitai stern <[email protected]>
Co-authored-by: szczepanczykd <[email protected]>
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sayali Gaikawad <[email protected]>
Co-authored-by: Ilya Lukyanovich <[email protected]>
Co-authored-by: Lucas Rogerio Caetano Ferreira <[email protected]>
opensearch-trigger-bot bot pushed a commit that referenced this issue Mar 21, 2023
* Adding x-amz-content-sha256 header for signed requests (#339)

* Adding X-Amz-Content-Sha256 header for signed requests

Signed-off-by: Vacha Shah <[email protected]>

* Adding CHANGELOG entry

Signed-off-by: Vacha Shah <[email protected]>

* Adding documentation comment

Signed-off-by: Vacha Shah <[email protected]>

* Adding tests

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

* Removing refresh policy for integ tests for Sigv4

Signed-off-by: Vacha Shah <[email protected]>

* Updating the developer guide

Signed-off-by: Vacha Shah <[email protected]>

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Fix issue with completion suggester being parsed as term suggester. (#347)

* Fix issue with completion suggester being parsed as term suggester.

This commit fixes the issue where a completion suggester search request
was being parsed as a term suggester and failing due to "Missing
required property 'TermSuggestOption.score'"

This solution was originally proposed by Github user @apatrida

Signed-off-by: Dan Hart <[email protected]>

* Remove commented code

Signed-off-by: Dan Hart <[email protected]>

* Fix format of changelog item

Signed-off-by: Dan Hart <[email protected]>

Signed-off-by: Dan Hart <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Update USER_GUIDE to use exact AWS brand names (#352)

Minor update to use exact brand names. "OpenSearch" is rather overloaded
to I find it less confusing to be precise in the naming.

Signed-off-by: Andrew Ross <[email protected]>

Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Bumps Jackson from 2.14.1 to 2.14.2 (#357)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Bulk UpdateOperation misses upsert options (#353)

* Bulk UpdateOperation misses upsert options

Signed-off-by: Andriy Redko <[email protected]>

* Fix formatting

Signed-off-by: Andriy Redko <[email protected]>

---------

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Upgrading compatibility to opensearch 2.5 (#367)

* Upgrading compatibility to opensearch 2.5

Signed-off-by: amitai stern <[email protected]>

* latest 2.4 version

Signed-off-by: amitai stern <[email protected]>

* keep existing compatibility matrix rows, this pr adds a new row for versions of opensearch after 2.3.0

Signed-off-by: amitai stern <[email protected]>

---------

Signed-off-by: amitai stern <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* add option to set columns into cat indices request

Signed-off-by: MarinaRazumovsky <[email protected]>

* add changelog

Signed-off-by: MarinaRazumovsky <[email protected]>

* changes in CatRequestBase, IndicesRequest, NodesRequest, RecoveryRequest and add tests

Signed-off-by: MarinaRazumovsky <[email protected]>

* Feature/range aggregation fix 369 (#370)

* test: create integration tests for date_range and range aggregation (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* fix: add a missing key propery to the RangeBucket (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* docs: add CHANGELOG entry (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Fixing integration tests (#375)

* Fixing integration tests

Signed-off-by: Vacha Shah <[email protected]>

* Updating the test with a non-exact check

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Adding bulk request example in user guide (#373)

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Fixing issue when tracktotalhits is disabled (#372)

* Fixing issue when tracktotalhits is disabled

Signed-off-by: Vacha Shah <[email protected]>

* Update Changelog

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* changes changelog

Signed-off-by: MarinaRazumovsky <[email protected]>

* Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 (#390)

* Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.154 to 4.8.156.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.154...classgraph-4.8.156)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Add 2PR approval to release workflow (#383)

Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Adding an example to use raw JSON class instead of target classes (#385)

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Update Gradle to 8.0.2 (#392)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Add "mappings" field to IndexSettings object (#382)

Signed-off-by: Ilya Lukyanovich <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Created untriaged issue workflow. (#364)

Signed-off-by: dblock <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Bump io.github.classgraph:classgraph from 4.8.156 to 4.8.157 in /java-client (#403)

* Bump io.github.classgraph:classgraph in /java-client

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.156 to 4.8.157.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.156...classgraph-4.8.157)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Add buffered lookahead for Jackson (#338)

Signed-off-by: luneo7 <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Mask env values for snapshots (#411)

Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* option to set headers and sort into cat requests

Signed-off-by: MarinaRazumovsky <[email protected]>

* fix test

Signed-off-by: MarinaRazumovsky <[email protected]>

* fix changelog

Signed-off-by: MarinaRazumovsky <[email protected]>

* add cat examples into USER_GUID

Signed-off-by: MarinaRazumovsky <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>
Signed-off-by: Dan Hart <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: amitai stern <[email protected]>
Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Ilya Lukyanovich <[email protected]>
Signed-off-by: dblock <[email protected]>
Signed-off-by: luneo7 <[email protected]>
Co-authored-by: Vacha Shah <[email protected]>
Co-authored-by: Danny Hart <[email protected]>
Co-authored-by: Andrew Ross <[email protected]>
Co-authored-by: Andriy Redko <[email protected]>
Co-authored-by: amitai stern <[email protected]>
Co-authored-by: szczepanczykd <[email protected]>
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sayali Gaikawad <[email protected]>
Co-authored-by: Ilya Lukyanovich <[email protected]>
Co-authored-by: Lucas Rogerio Caetano Ferreira <[email protected]>
(cherry picked from commit 938170a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
reta added a commit that referenced this issue Mar 21, 2023
* Adding x-amz-content-sha256 header for signed requests (#339)

* Adding X-Amz-Content-Sha256 header for signed requests

Signed-off-by: Vacha Shah <[email protected]>

* Adding CHANGELOG entry

Signed-off-by: Vacha Shah <[email protected]>

* Adding documentation comment

Signed-off-by: Vacha Shah <[email protected]>

* Adding tests

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

* Removing refresh policy for integ tests for Sigv4

Signed-off-by: Vacha Shah <[email protected]>

* Updating the developer guide

Signed-off-by: Vacha Shah <[email protected]>

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Fix issue with completion suggester being parsed as term suggester. (#347)

* Fix issue with completion suggester being parsed as term suggester.

This commit fixes the issue where a completion suggester search request
was being parsed as a term suggester and failing due to "Missing
required property 'TermSuggestOption.score'"

This solution was originally proposed by Github user @apatrida

Signed-off-by: Dan Hart <[email protected]>

* Remove commented code

Signed-off-by: Dan Hart <[email protected]>

* Fix format of changelog item

Signed-off-by: Dan Hart <[email protected]>

Signed-off-by: Dan Hart <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Update USER_GUIDE to use exact AWS brand names (#352)

Minor update to use exact brand names. "OpenSearch" is rather overloaded
to I find it less confusing to be precise in the naming.

Signed-off-by: Andrew Ross <[email protected]>

Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Bumps Jackson from 2.14.1 to 2.14.2 (#357)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Bulk UpdateOperation misses upsert options (#353)

* Bulk UpdateOperation misses upsert options

Signed-off-by: Andriy Redko <[email protected]>

* Fix formatting

Signed-off-by: Andriy Redko <[email protected]>

---------

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Upgrading compatibility to opensearch 2.5 (#367)

* Upgrading compatibility to opensearch 2.5

Signed-off-by: amitai stern <[email protected]>

* latest 2.4 version

Signed-off-by: amitai stern <[email protected]>

* keep existing compatibility matrix rows, this pr adds a new row for versions of opensearch after 2.3.0

Signed-off-by: amitai stern <[email protected]>

---------

Signed-off-by: amitai stern <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* add option to set columns into cat indices request

Signed-off-by: MarinaRazumovsky <[email protected]>

* add changelog

Signed-off-by: MarinaRazumovsky <[email protected]>

* changes in CatRequestBase, IndicesRequest, NodesRequest, RecoveryRequest and add tests

Signed-off-by: MarinaRazumovsky <[email protected]>

* Feature/range aggregation fix 369 (#370)

* test: create integration tests for date_range and range aggregation (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* fix: add a missing key propery to the RangeBucket (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* docs: add CHANGELOG entry (#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Fixing integration tests (#375)

* Fixing integration tests

Signed-off-by: Vacha Shah <[email protected]>

* Updating the test with a non-exact check

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Adding bulk request example in user guide (#373)

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Fixing issue when tracktotalhits is disabled (#372)

* Fixing issue when tracktotalhits is disabled

Signed-off-by: Vacha Shah <[email protected]>

* Update Changelog

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* changes changelog

Signed-off-by: MarinaRazumovsky <[email protected]>

* Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 (#390)

* Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.154 to 4.8.156.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.154...classgraph-4.8.156)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Add 2PR approval to release workflow (#383)

Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Adding an example to use raw JSON class instead of target classes (#385)

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Update Gradle to 8.0.2 (#392)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Add "mappings" field to IndexSettings object (#382)

Signed-off-by: Ilya Lukyanovich <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Created untriaged issue workflow. (#364)

Signed-off-by: dblock <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Bump io.github.classgraph:classgraph from 4.8.156 to 4.8.157 in /java-client (#403)

* Bump io.github.classgraph:classgraph in /java-client

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.156 to 4.8.157.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.156...classgraph-4.8.157)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Add buffered lookahead for Jackson (#338)

Signed-off-by: luneo7 <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* Mask env values for snapshots (#411)

Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>

* option to set headers and sort into cat requests

Signed-off-by: MarinaRazumovsky <[email protected]>

* fix test

Signed-off-by: MarinaRazumovsky <[email protected]>

* fix changelog

Signed-off-by: MarinaRazumovsky <[email protected]>

* add cat examples into USER_GUID

Signed-off-by: MarinaRazumovsky <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>
Signed-off-by: Dan Hart <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: amitai stern <[email protected]>
Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Ilya Lukyanovich <[email protected]>
Signed-off-by: dblock <[email protected]>
Signed-off-by: luneo7 <[email protected]>
Co-authored-by: Vacha Shah <[email protected]>
Co-authored-by: Danny Hart <[email protected]>
Co-authored-by: Andrew Ross <[email protected]>
Co-authored-by: Andriy Redko <[email protected]>
Co-authored-by: amitai stern <[email protected]>
Co-authored-by: szczepanczykd <[email protected]>
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sayali Gaikawad <[email protected]>
Co-authored-by: Ilya Lukyanovich <[email protected]>
Co-authored-by: Lucas Rogerio Caetano Ferreira <[email protected]>
(cherry picked from commit 938170a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Andriy Redko <[email protected]>
dblock added a commit that referenced this issue Mar 21, 2023
* Adding x-amz-content-sha256 header for signed requests (#339)

* Adding X-Amz-Content-Sha256 header for signed requests



* Adding CHANGELOG entry



* Adding documentation comment



* Adding tests



* Addressing comments



* Addressing comments



* Removing refresh policy for integ tests for Sigv4



* Updating the developer guide






* Fix issue with completion suggester being parsed as term suggester. (#347)

* Fix issue with completion suggester being parsed as term suggester.

This commit fixes the issue where a completion suggester search request
was being parsed as a term suggester and failing due to "Missing
required property 'TermSuggestOption.score'"

This solution was originally proposed by Github user @apatrida



* Remove commented code



* Fix format of changelog item






* Update USER_GUIDE to use exact AWS brand names (#352)

Minor update to use exact brand names. "OpenSearch" is rather overloaded
to I find it less confusing to be precise in the naming.






* Bumps Jackson from 2.14.1 to 2.14.2 (#357)




* Bulk UpdateOperation misses upsert options (#353)

* Bulk UpdateOperation misses upsert options



* Fix formatting



---------




* Upgrading compatibility to opensearch 2.5 (#367)

* Upgrading compatibility to opensearch 2.5



* latest 2.4 version



* keep existing compatibility matrix rows, this pr adds a new row for versions of opensearch after 2.3.0



---------




* add option to set columns into cat indices request



* add changelog



* changes in CatRequestBase, IndicesRequest, NodesRequest, RecoveryRequest and add tests



* Feature/range aggregation fix 369 (#370)

* test: create integration tests for date_range and range aggregation (#369)



* fix: add a missing key propery to the RangeBucket (#369)



* docs: add CHANGELOG entry (#369)



---------




* Fixing integration tests (#375)

* Fixing integration tests



* Updating the test with a non-exact check



---------




* Adding bulk request example in user guide (#373)




* Fixing issue when tracktotalhits is disabled (#372)

* Fixing issue when tracktotalhits is disabled



* Update Changelog



---------





* changes changelog



* Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156 (#390)

* Bump io.github.classgraph:classgraph from 4.8.154 to 4.8.156

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.154 to 4.8.156.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.154...classgraph-4.8.156)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...



* Update changelog



---------






* Add 2PR approval to release workflow (#383)




* Adding an example to use raw JSON class instead of target classes (#385)




* Update Gradle to 8.0.2 (#392)




* Add "mappings" field to IndexSettings object (#382)




* Created untriaged issue workflow. (#364)




* Bump io.github.classgraph:classgraph from 4.8.156 to 4.8.157 in /java-client (#403)

* Bump io.github.classgraph:classgraph in /java-client

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.156 to 4.8.157.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.156...classgraph-4.8.157)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...



* Update changelog



---------






* Add buffered lookahead for Jackson (#338)




* Mask env values for snapshots (#411)




* option to set headers and sort into cat requests



* fix test



* fix changelog



* add cat examples into USER_GUID



---------

























(cherry picked from commit 938170a)

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: MarinaRazumovsky <[email protected]>
Signed-off-by: Dan Hart <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: amitai stern <[email protected]>
Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Ilya Lukyanovich <[email protected]>
Signed-off-by: dblock <[email protected]>
Signed-off-by: luneo7 <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Vacha Shah <[email protected]>
Co-authored-by: Danny Hart <[email protected]>
Co-authored-by: Andrew Ross <[email protected]>
Co-authored-by: Andriy Redko <[email protected]>
Co-authored-by: amitai stern <[email protected]>
Co-authored-by: szczepanczykd <[email protected]>
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sayali Gaikawad <[email protected]>
Co-authored-by: Ilya Lukyanovich <[email protected]>
Co-authored-by: Lucas Rogerio Caetano Ferreira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

3 participants