ElasticUI icon indicating copy to clipboard operation
ElasticUI copied to clipboard

Space issue in Single Select and Checkbox

Open jayraam opened this issue 9 years ago • 2 comments
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.

  1. FIRST
  2. NIAGARA Can you please help me to fix this issue.

jayraam avatar Oct 17 '16 20:10 jayraam

I think the field in ES should be marked as not an indexed one

mastermind1981 avatar Oct 17 '16 20:10 mastermind1981

That's right, you should set it in you mapping :

{
  "mappings" : {
    "YOUR_INDEX" : {
      "properties" : {
        "YOUR_PROPERTY" : {
          "type" : "string",
          "index" : "not_analyzed"
        }
      }
    }
  }
}

annelhote avatar Dec 14 '17 17:12 annelhote