Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Assertion failure when doing a significant terms aggregation. #7951
I'm running: Version: 1.3.0, Build: 1265b14/2014-07-23T13:46:36Z, JVM: 1.7.0_65
I'm trying to do a simple significant terms aggregation and I get an exception:
The mapping for the two fields involved:
@brwe Wouldn't mind discussing this - one fix for the above is pretty simple (use a background superset doc-count of IndexReader.maxDoc that includes deleted docs) but it introduces a lot of test failures into your SignificantTermsSignificanceScoreTests class which is very sensitive to score changes caused by the randomized testing framework's habit of deleting docs then re-inserting docs.