Default operator option logic

Hi, I try send this query:

 {
  "query": {
    "function_score": {
      "query": {
        "bool": {
          "must": {
            "query_string": {
              "query": "oracle AND san AND francisco AND hadoop",
              "fuzzy_transpositions": false,
              "auto_generate_synonyms_phrase_query": false
            }
          },
          "disable_coord": false,
          "adjust_pure_negative": false,
          "boost": 1.1
        }
      }
    }
  }
}

Get total results:
10209

If I send:

{
  "query": {
    "function_score": {
      "query": {
        "bool": {
          "must": {
            "query_string": {
              "query": "oracle san francisco hadoop",
              "default_operator": "AND",
              "fuzzy_transpositions": false,
              "auto_generate_synonyms_phrase_query": false
            }
          },
          "disable_coord": false,
          "adjust_pure_negative": false,
          "boost": 1.1
        }
      }
    }
  }
}

Get total results:
431.

Maybe some one know what different?

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