ElasticUI
ElasticUI copied to clipboard
Space issue in Single Select and Checkbox
trafficstars
I am facing issue with space in both single select and checkbox filter. When even the string has space it is considered as two separate fields. For example, if field value is FIRST NIAGARA, the single select filter and checkbox filter showing as two separate fields.
- FIRST
- NIAGARA Can you please help me to fix this issue.
I think the field in ES should be marked as not an indexed one
That's right, you should set it in you mapping :
{
"mappings" : {
"YOUR_INDEX" : {
"properties" : {
"YOUR_PROPERTY" : {
"type" : "string",
"index" : "not_analyzed"
}
}
}
}
}