Hi I am using the not analyzed over the field
when i search with the below query
"query": {
"query_string": {
"query": "06H121605E",
"default_field": "invoiceID"
}
}
}
I am getting 2 documents in results
but when I went for the wild card
"query": {
"query_string": {
"query": "06H121605*",
"default_field": "invoiceID"
}
}
its giving me hits as null
Here is my mapping for the invoiceID field
"invoiceID": {
"type": "string",
"index": "not_analyzed"
},