Hi my request is bellow,
{
"query": {
"bool": {
"must": [
{
"query_string": {
"fields": [
"keywords"
],
"query": "*hi \\&\\& hi*",
"default_operator": "AND",
"analyze_wildcard": true
}
}
]
}
},
"from": 0,
"size": 5000
}
Then I Got result
{
"took": 2,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 2,
"max_score": 4.0767765,
"hits": [
{
"_index": "test",
"_type": "PersonSearch",
"_id": "jdhsakdhsjklaaldhsj",
"_score": 4.0767765,
"_source": {
"keywords": [
"novella",
"degroot",
"novella degroot",
"novella_degroot@degroot.org",
"808-477-4775",
"808-746-1865",
"Possible",
"evans, c kelly esq",
"employee",
"evans, c kelly esq",
"employee",
"303 n radcliffe st",
"hilo",
"hawaii",
"hi",
"96720",
"hilo",
"hawaii",
"hi",
"303 n radcliffe st",
"96720",
"http://www.evansckellyesq.com",
"green p"
]
}
},
{
"_index": "test",
"_type": "PersonSearch",
"_id": "new xyz",
"_score": 4.0767765,
"_source": {
"keywords": [
"c",
"kannan",
"c kannan",
"Possible",
"ransar industries, unit-ii(mfg)",
"employee",
"imported 26/02/2016 2:06 pm",
"2011-10-19 05:59:55 - sandip mavani - cimco wireless dnc system for 1 m/c",
**"hi && hi"**
]
}
}
]
}
}
but I want actually only second record.