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

Increase facet size to a big-enough number #72

Merged
merged 1 commit into from
May 25, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bihar/reports/due_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_due_list_by_task_name(target_date, owner_id=None, case_es=None, size=0,
base_query['filter']['and'] += filter['and']
base_query['facets'] = {
facet_name: {
"terms": {"field":"name.exact"},
"terms": {"field":"name.exact", "size": 1000},
"facet_filter": filter # This controls the records processed for the summation
}
}
Expand Down