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

Support null_value for wildcard field type. #55701

Closed
jtibshirani opened this issue Apr 24, 2020 · 2 comments
Closed

Support null_value for wildcard field type. #55701

jtibshirani opened this issue Apr 24, 2020 · 2 comments
Assignees
Labels
>enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v7.9.0 v8.0.0-alpha1

Comments

@jtibshirani
Copy link
Contributor

Perhaps the wildcard field type could support the null_value mapping option for closer parity with keyword fields.

@jtibshirani jtibshirani added >enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types labels Apr 24, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Mapping)

@elasticmachine elasticmachine added the Team:Search Meta label for search team label Apr 24, 2020
@markharwood markharwood self-assigned this Apr 29, 2020
@markharwood
Copy link
Contributor

Fixed in e7c4b31

cbuescher pushed a commit that referenced this issue Nov 5, 2020
I was doing some testing on an Elastic Cloud instance running 7.9.2, and discovered
that the value of the `null_value` parameter is stored, but it's not documented.

Example:

```
PUT /test-wildcard-null-value
{
  "mappings": {
    "properties": {
      "name": {
        "type": "wildcard",
        "null_value": "mynilvalue"
      }
    }
  }
}

GET /test-wildcard-null-value/_mapping
```

This was added in #55701
@javanna javanna added Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch and removed Team:Search Meta label for search team labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v7.9.0 v8.0.0-alpha1
Projects
None yet
Development

No branches or pull requests

5 participants