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

ESQL: Allow access to _ignored meta field #108324

Open
flash1293 opened this issue May 6, 2024 · 3 comments
Open

ESQL: Allow access to _ignored meta field #108324

flash1293 opened this issue May 6, 2024 · 3 comments
Assignees
Labels
:Analytics/ES|QL AKA ESQL >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)

Comments

@flash1293
Copy link
Contributor

Description

The _ignored meta field (https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-ignored-field.html) is useful to gauge dataset quality by showing which field are not fully indexed.

However, it's currently not accessible via ESQL. It should be possible to include it via the METADATA clause (https://www.elastic.co/guide/en/elasticsearch/reference/current/esql-metadata-fields.html).

@flash1293 flash1293 added >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) needs:triage Requires assignment of a team area label :Analytics/ES|QL AKA ESQL labels May 6, 2024
@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label May 6, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@flash1293
Copy link
Contributor Author

A related thing that should be exposed in some way as well is access to the ignored_field_values that are currently returned as part of _search:

 {
        "_index": "myindex",
        "_id": "S-FbTY8BbGXeaJt28wv3",
        "_score": 1,
        "_ignored": [
          "a"
        ],
        "_source": {
          "a": "abcsfdhjgfhjksdgfkjhgsdhfj"
        },
        "ignored_field_values": {
          "a": [
            "abcsfdhjgfhjksdgfkjhgsdhfj"
          ]
        }
      }

@bpintea
Copy link
Contributor

bpintea commented May 13, 2024

Related: #108558

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)
Projects
None yet
Development

No branches or pull requests

4 participants