Hi,
In my mind, "Match Query" is available to full text queries.
just I create a doc :
POST /test/test
{
"001":"This is a test"
}
I thought I can get this doc by setting these:
{
"query":{
"match":{
"001":"This*"
}
}
}
But it didn't work, hence I try this:
{
"query":{
"query_string": {
"default_field": "001",
"query": "This*"
}
}
}
failed...
Then I tried to search "is":
{
"query":{
"query_string": {
"default_field": "001",
"query": "*is*"
}
}
}
success.
So how can I get this doc by setting just "is " or "This"? Not using "query_string" or "match_phrase_prefix"