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

min/max for unint facets without constraints gives Exception #2

Open
emidln opened this issue Aug 16, 2012 · 0 comments
Open

min/max for unint facets without constraints gives Exception #2

emidln opened this issue Aug 16, 2012 · 0 comments
Assignees
Labels

Comments

@emidln
Copy link
Contributor

emidln commented Aug 16, 2012

When searching using the facet keyword, specifying an UnsignedIntegerField but no corresponding entry to facet_constraints for that UnsignedIntegerField causes Cloudsearch to return facet information about the minimum and maximum values for that field. This is not handled by the backend in _process_results.

To test, do something like this inside a repl:

search(my_index, "some_query", facet=['myuint_field'])

You'll get an exception that you can examine with import pdb; pdb.pm()

@ghost ghost assigned emidln Aug 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant