I have some data I am trying to get statistics on (e.g. what percentage of documents have a description?). However, the field statistics are not showing, even when I hit refresh...
When I click on one of the fields, it shows me some of the distinct values, but not all...
Is there a way to fix this?
kaismax
(KAIS)
June 7, 2023, 7:19pm
2
can you share the mapping for your index
{
"experts": {
"mappings": {
"properties": {
"country": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"description": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"fullName": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"id": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"infoFromLinkedin": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"internal_tags": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"medical_specialties": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"organization": {
"properties": {
"_id": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"altNames": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"type": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
"projects": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"status": {
"type": "keyword"
},
"technology_tags": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"title": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
}
}
jughosta
(Julia Rechkunova)
June 8, 2023, 9:09am
4
Hi @joshuachough and welcome to the community!
Field Statistics can be provided for aggregatable fields like fields with keyword
type. In your case looks like mostly text
fields are selected.
There are 2 options for you to try:
deselect all currently selected fields (for example by pressing New link in the top nav)
select aggregatable fields too (for example, add country.keyword
field via "+" from the sidebar field popover)
1 Like
system
(system)
Closed
July 20, 2023, 9:03pm
7
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.