如何阻止Spring Data Elasticsearch发送query_binary查询?

时间:2015-03-05 09:40:44

标签: elasticsearch spring-data

我想看看Spring Data Elasticsearch实际发送给Elasticsearch的查询(特别是当它们出错时),但我在日志中找到了这个:

[profiles][0]: from[0],size[11]: Parse Failure [Failed to parse source [{"from":0,"size":11,"query_binary":"eyJxdWVyeSI6eyJxdWVyeV9zdHJpbmciOnsicXVlcnkiOiJCYXMifX19fQ=="}]]
...
QueryParsingException: [profiles] No query registered for [query]

看起来像Spring-Data的Elasticsearch集成工具是二进制查询。对于调试,我认为查看原始查询会很有用。

0 个答案:

没有答案