Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Handle facet terms int overflow better #2115

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant

awick commented Jul 24, 2012

Facet terms are int based and can overflow with a large number of documents.
Instead of overflowing return Integer.MAX_VALUE.
This fix assumes overflow only happens during the reduce phase.

@awick awick Handle facet terms int overflow better
Facet terms are int based and can overflow with a large number of documents.
Instead of overflowing return Integer.MAX_VALUE.
This fix assumes overflow only happens during the reduce phase.
9776f14

@awick awick closed this Mar 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment