Skip to content
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

Count and Search API status codes are inconsistent (count does not return 400) #3585

garron opened this Issue Aug 27, 2013 · 0 comments


None yet
2 participants
Copy link

garron commented Aug 27, 2013

I've got a query that produces a 400 when performing a search. However, when I use the same query to perform a count, a 200 status is returned.

The output from this gist is:

Count using a good query
Search using a good query
Count using a bad query
Search using a bad query

If you take out the "-o /dev/null", you can see that both the search and count produce errors in the "bad query" case, but the count API still returns a 200.

@ghost ghost assigned bleskes Aug 27, 2013

@bleskes bleskes closed this in 86cb76a Aug 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.