django-elasticsearch-TransportError(400, ‘parsing_exception’, 'no [query] registered for [filtered]
原因是因为在elasticsearch5以后 不支持filtered查询要换成bool
参考
在django框架中需要在配置文件中配置新后端引擎
原因是因为在elasticsearch5以后 不支持filtered查询要换成bool
参考
在django框架中需要在配置文件中配置新后端引擎