Call this API to display the collection of fields:
Parameters:
curl -XGET "http://localhost:9091/indexes/my_index/fields"
The API returns the settings.
{
"name": {
"template": "TextField"
},
"description": {
"analyzer": "EnglishAnalyzer",
"stored": true,
"tokenized": true,
"index_options": "DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS"
},
"category": {
"template": "SortedSetMultiDocValuesFacetField"
},
"format": {
"template": "FacetField"
},
"single_date": {
"template": "StringField"
},
"price": {
"template": "DoubleDocValuesField"
},
"size": {
"template": "LongField"
},
"stock": {
"template": "IntDocValuesField"
}
}