Hi EveryOne,

I want to run below query but I am getting no results. Please let me know 
if it feasible.

{
   "query": {
       "bool": {
           "must": [
               {
                   "nested": {
                       "path": "tokens",
                       "query": {
                           "bool": {
                               "must": [
                                   {
                                       "wildcard": {
                                           "tokens.name": "*value"
                                       }
                                   },
                                   {
                                       "wildcard": {
                                           "tokens.name": "value*value"
                                       }
                                   }
                               ]
                           }
                       }
                   }
               }
           ]
       }
   },
   "sort": [
       {
           "score": {
               "order": "desc"
           }
       }
   ]
}

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/fd33039a-da11-4b04-831e-d1217d1737a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to