"doc_values: False" not working for simple_query_string

Hi, I've set "doc_values": false for some fields because of this when I try to use this in simple_query_string it's not searching over those fields, but if I remove the fields parameter from simple_query_string it searches over that field.

**mapping:**
    {
      "name": {
            "properties": { 
                     "type":"keyword",
                     "doc_values":False
              }
    }

**document**
    { "name": "riswan"}

**query**

    { 
      "simple_query_string": {
            "query": "riswan",
            "fields": ["name"] //not working
      }
    }

  { 
      "simple_query_string": {
            "query": "riswan",
            "fields": []   //working
      }
    }

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.