elasticsearch - Regex on Term aggregations with phrase -


how can aggregate term filter based on phrase? field auto analyzed shingle analyzer.the below query works fine single keyword without whitespace when there whitespace fails. better way of doing it?

{   "query" : {     "prefix" : {       "auto" : "hello wo*"     }   },   "aggregations" : {     "auto" : {       "terms" : {         "field" : "auto",         "size" : 1000,         "include" : "hello wo.*"       }     }   } } 


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -