Patrick,

If I understand correctly, you just want to preserve the dashes as is and 
not "word-delimit" on them. You can try something like this (I am just 
preserving the - symbol: \\u002D):

      "analysis": {
        "analyzer": {
          "wd1": {
            "tokenizer": "whitespace",
            "filter": [
              "wd1"
            ]
          }
        },
        "filter": {
          "wd1": {
            "type": "word_delimiter",
            "type_table": [
              "\\u002D => ALPHANUM"
            ]
          }
        }
      }

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8bb175ed-eb4e-4824-9d54-82439383779b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to