Description
We faced the ordering issue without passing any sorting parameter and same filters in both queries.
Query1
fq=
Query2
fq=
Query3
For debugging Query2, we added score field in fl=score,offering_id,company_id...
That actually solved the document order issue
Query4
But when we passed selective exclude in facet field of Query3, it give document in correct order but with NullPointerException in error and no facet (not the one in SOLR-5416).
facet.field=
brand
fq=
(brand:"samsung")
The error is
NullPointerException at org.apache.solr.search.CollapsingQParserPlugin$FloatValueCollapse.collapse(CollapsingQParserPlugin.java:852)
Query5
Removing score from fl in Query 4 removes the error