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

Investigate Mappings Dynamic vs Explicit #13

Open
moisbo opened this issue Jun 7, 2024 · 0 comments
Open

Investigate Mappings Dynamic vs Explicit #13

moisbo opened this issue Jun 7, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@moisbo
Copy link
Member

moisbo commented Jun 7, 2024

We currently use dynamic mappings in OpenSearch. And because of that we need to increase the limit of the total_fields to a number larger than the default 1000

If we dont increase it you get an error:

{
  "body": {
    "error": {
      "root_cause": [
        {
          "type": "illegal_argument_exception",
          "reason": "Limit of total fields [1000] has been exceeded"
        }
      ],
      "type": "illegal_argument_exception",
      "reason": "Limit of total fields [1000] has been exceeded"
    },
    "status": 400
  },
  "statusCode": 400,
  "headers": {
    "content-type": "application/json; charset=UTF-8",
    "content-length": "229"
  }
}

We need to decide whether we map the searchable fields and or increasing the total_fields. If we map the fields we need to add this work to our workflow.

https://opensearch.org/docs/latest/field-types/

@moisbo moisbo added the enhancement New feature or request label Jun 7, 2024
@moisbo moisbo added this to the version 2.1.x milestone Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants