خرید بک لینک

Vote count: 0

My mapping is:

  "alarmName" : {
    "type" : "string",
    "norms" : {
      "enabled" : false
    },
    "analyzer" : "lowercase_analyzer"
  }

and setting is:

    "analysis" : {
      "analyzer" : {
        "lowercase_analyzer" : {
          "filter" : [ "lowercase" ],
          "tokenizer" : "keyword"
        }
      }
    }

I index some events with alarmName = "pro profile".
but when i query with:

{
  "query" : {
    "term" : {
      "alarmName" : "pro profile"
    }
  }
}

i get nothing.
for all other words with space every things are OK, but for this words(pro profile) i have this problem.
This is a bug?
This is for that profile contains pro?

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 16 مرداد 1395 ساعت: 14:16

صفحه بندی