-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request Error: no [query] registered for [filtered] #1579
Comments
@whob13, Elasticsearch 5.x is not supported yet, pls visit doc http://django-haystack.readthedocs.io/en/master/installing_search_engines.html |
* Add 5.x to supported versions * Replace configuration and installation information with pointers to the official docs * Stop mentioning pyes since it’s fallen behind the official client in awareness * Don’t tell people how to install Python packages
Docs now saying that 5.x is supported, but the problem remains. |
Same, got this problem with 5.x |
ES5 is supported and works. I would check your configuration against the test suite’s first |
There is actully no elasticsearch5_backend in the latest stable release (2.8.1). Looks like it's not yet released. |
I agree with @racktear, elasticsearch5_backend is not part of 2.8.1, but it's in the master branch. for those who wants to try it out, install master using git. |
As always, testing is appreciated. I have very limited time available to work on Haystack these days and if someone would like to take over maintaining the ElasticSearch support it'd be a great contribution. |
@acdha I've had success with ES5 support in master. Just maybe release a new version? |
I'm having the same issue with elastic search 6.4.0
|
I'm also having the same issue with elastic search 5.6.1, Can someone help me? elasticsearch.exceptions.RequestError: TransportError(400, 'parsing_exception', 'no [query] registered for [filtered]') |
elasticsearch 6.6我也有同样的问题,有人能帮帮我吗? elasticsearch.exceptions.RequestError:TransportError(400,'parsing_exception','没有[查询]注册[filtered]') |
Any update on this ? |
elasticsearch 5.6.16, using haystack master as suggested but still |
Make sure that your HAYSTACK_CONNECTIONS settings has ENGINE: 'search.backends.elasticsearch5_backend.Elasticsearch5SearchEngine' I somehow missed this in the documentation if its in there and it resolved my issues |
Suggestion by @isakbosman worked for me (along with installing |
Expected behaviour
I set up the Haystack search page based on the readthedocs tutorial and I'm getting an error for any search that I perform on the model I configured. I submit a search and get this error message in return
Actual behaviour
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info) RequestError: TransportError(400, u'parsing_exception', u'no [query] registered for [filtered]')
Steps to reproduce the behaviour
search.html
search_indexes.py
Sponsor model
Configuration
The text was updated successfully, but these errors were encountered: