type有username字段,希望查出username值为abc的精准内容
json
{ "query": { "filtered": { "query": { "match": { "username": "abc" } } } } }
结果查出除了abc还有abcd、xxabcxx的内容。。。
type有username字段,希望查出username值为abc的精准内容
json
{ "query": { "filtered": { "query": { "match": { "username": "abc" } } } } }
结果查出除了abc还有abcd、xxabcxx的内容。。。
随便搜一搜就有了。