Description
TODO
Let's remove BlockJoinFacetComponent because it doesn't work with BooleanScorer aka term-at-time. It's advised to use BlockJoinDocSetFacetComponent instead.
Original Description
query like this:
http://localhost:8983/solr/core0/bjqfacet?q=*:*%20{!parent+which%3Dtype_s:parent}type_s:child&facet=true&child.facet.field=SIZE_s
throws:
java.lang.UnsupportedOperationException at org.apache.lucene.search.FakeScorer.getChildren(FakeScorer.java:60) at org.apache.solr.search.join.BlockJoinFacetCollector.getToParentScorer(BlockJoinFacetCollector.java:66) at org.apache.solr.search.join.BlockJoinFacetCollector.setScorer(BlockJoinFacetCollector.java:55) at org.apache.lucene.search.BooleanScorer.score(BooleanScorer.java:319) at org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:821) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:535) at org.apache.solr.search.SolrIndexSearcher.buildAndRunCollectorChain(SolrIndexSearcher.java:207)
Not that this query makes much sence, but don't expect naked exception.
This only happens when using BlockJoinFacetComponent - BlockJoinDocSetFacetComponent seems to do OK.
Attachments
Attachments
Issue Links
- depends upon
-
SOLR-8644 ArrayIndexOutOfBoundsException in BlockJoinFieldFacetAccumulator
- Closed
-
LUCENE-6229 Remove Scorer.getChildren?
- Patch Available
-
LUCENE-6959 Remove ToParentBlockJoinCollector
- Resolved
- relates to
-
LUCENE-7497 Cannot use boolean SHOULD queries with block join?
- Closed
- links to