Description
SolrQueryIndex suffers of possible NPE when running exact query calculation method.
@Override public long getSize(SizePrecision precision, long max) { long estimate = -1; switch (precision) { case EXACT: // query solr SolrQuery countQuery = FilterQueryParser.getQuery(plan.getFilter(), null, this.configuration); ... }
The problem is the plan being null causes plan.getSortPlan() in FilterQueryParser throw an NPE.