php - Searching in an array indexed in ElasticSearch -
I have indexed a document in I am using I also tried: What is the right way to do such searches? There are no such examples in the documentation. Can you convert this JSON to a php object? I think this work. ElasticSearch which contains arrays like this: doc [" match "] [" eventType "] ==" requires a query "league" ) ElasticSearch-PHP api 1.1.0 and thus tried to query without success : ['Event'] ['eventType'] = 'league'; $ params ['body'] ['query'] ['match'];
$ params ['body'] ['query'] ['match'] ['match'] -> EventType = 'league' ;
{"query": {"match": {"match.eventType": "League "}}}
Comments
Post a Comment