-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
NEST: 7.11.1:
Elastic: 7.11.2:
I have an index with a filter and 2 analyzers under settings.index.analysis. Using NEST var info = await client.Indices.GetAsync("index")
I expect to be able to see them under info.Indices["index"].Settings.Analysis
, but everything under the analyzers is null in there.
I confirmed via fiddler that the data comes back in the json response from elasticsearch. For now I'm using the low level client with a hand built request, but I'd much rather use the NEST version.
Steps to reproduce:
- Create an index with a filter and/or analyzer in the index settings
- Call GetAsync on that index
- Inspect response to see if the settings are there
Expected behavior
I expect that the GetIndexResponse would have the index settings fully populated
"settings": {
"index": {
"analysis": {
"filter": {
"autocomplete_ngram": {
"type": "edge_ngram",
"min_gram": 3,
"max_gram": 20
}
},
"analyzer": {
"index_autocomplete": {
"tokenizer": "keyword",
"filter": [
"lowercase",
"autocomplete_ngram"
]
},
"search_autocomplete": {
"tokenizer": "keyword",
"filter": [
"lowercase"
]
}
}
}
}
Metadata
Metadata
Assignees
Labels
No labels