GitHub PushEvent at 2014-02-17 10:31:22
Repository: brick
Actor: jackdoe
Payload: {"shas":[["dbba599f103bf1f8d6d00b10d66b35bdf14ea687","596727c8a0ea4db3ba2ceceedccbacd3d7b371b8@sofialondonmoskva.com","add analyzer based \"match\" query\n\nmatch => {\n    \"category.keyword\" => {\n        query => \"green yellow\",\n        type  => \"bool\",  # default\n        bool_clause          => \"SHOULD\",  # or MUST\n        minimum_should_match => 1, # default is 0\n        analyzer             => \"category.keyword\"\n    }\n}\n\nmatch => {\n    \"category.keyword\" => {\n        query => \"green yellow\",\n        type => \"dis_max\",\n        tie_breaker => 1,\n        analyzer => \"category.keyword\"\n    }\n}\n\nit uses the \"analyzer\" to spawn a bunch of tokens, and it creates\n\"TermQuery\" for all of them, after that it puts the term-queries\ninto \"boolean\" or \"dis_max\" query. If you dont specify analyzer it will\ntry to use the field's name and look it up in the analyzers map of the index.\nIf there is no specific analyzer for this field it will use the default\nanalyzer which is \"WhitespaceAnalyzer\".","borislav nikolov",true]],"size":1,"ref":"refs/heads/master","head":"dbba599f103bf1f8d6d00b10d66b35bdf14ea687"}