Using wildcard in multiple fields

Hello everyone,
i have mapping like this

PUT test
{
  "mappings": {
  "properties": {
    "elastic_case_title": {
      "properties": {
        "ace": {
          "type": "text",
          "term_vector": "with_positions_offsets",
          "fields": {
            "exact": {
              "type": "text",
              "term_vector": "with_positions_offsets",
              "analyzer": "indonesian_exact"
            }
          },
          "analyzer": "indonesian"
        },
        "al": {
          "type": "text",
          "term_vector": "with_positions_offsets",
          "fields": {
            "exact": {
              "type": "text",
              "term_vector": "with_positions_offsets",
              "analyzer": "armenian_exact"
            }
          },
          "analyzer": "armenian"
        },
        "aln": {
          "type": "text",
          "term_vector": "with_positions_offsets",
          "fields": {
            "exact": {
              "type": "text",
              "term_vector": "with_positions_offsets",
              "analyzer": "armenian_exact"
            }
          },
          "analyzer": "armenian"
        },
        "am": {
          "type": "text",
          "term_vector": "with_positions_offsets",
          "fields": {
            "exact": {
              "type": "text",
              "term_vector": "with_positions_offsets",
              "analyzer": "standard"
            }
          },
          "analyzer": "standard"
        }
      }
    }
  }
}
}

(ace, al, aln, etc. is the language code. This is just the extract of my real mapping, there are over 30 languages in my mapping).

I'm using simple_query_string on multiple field, but i want to launch query on the original field only, and not exact field. For instant, my query is like bellow:

{
  "query": {
    "simple_query_string": {
      "query": "force + majeure",
      "fields": [
        "elastic_case_title.*^5"
      ],
      "default_operator": "and",
      "boost": 5
    }
  }
}

As you can see above, elastic_case_title.* will launch the search on elastic_case_title.al and elastic_case_title.al.exact too. Are there anyway to launch on elastic_case_title.al only.
Thank you alot.

Can someone help me pls ?

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