aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/GET_search_simplequerystring.txt
blob: 2ae5507dfe580e241bdaf5f9db5a419fb809e466 (plain)
1
2
3
4
5
6
7
8
9
10
GET /some-index/_search
{
  "query": {
    "simple_query_string" : {
        "query": "\"fried eggs\" +(eggplant | potato) -frittata",
        "fields": ["title^5", "body"],
        "default_operator": "and"
    }
  }
}