[
https://issues.apache.org/jira/browse/SOLR-8643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mikhail Khludnev updated SOLR-8643:
-----------------------------------
Fix Version/s: (was: 6.0)
(was: 5.5)
master (7.0)
6.2
> remove BlockJoinFacetComponent; was: UnsupportedOperationException in
> FakeScorer
> --------------------------------------------------------------------------------
>
> Key: SOLR-8643
> URL: https://issues.apache.org/jira/browse/SOLR-8643
> Project: Solr
> Issue Type: Sub-task
> Components: faceting
> Reporter: Ilya Kasnacheev
> Assignee: Mikhail Khludnev
> Priority: Minor
> Fix For: 6.2, master (7.0)
>
> Attachments: SOLR-8643.patch
>
>
> h2. TODO
> Let's remove {{BlockJoinFacetComponent}} because it doesn't work with
> {{BooleanScorer}} aka _term-at-time_. It's advised to use
> {{BlockJoinDocSetFacetComponent}} instead.
> h2. Original Description
> query like this:
> {code}
> http://localhost:8983/solr/core0/bjqfacet?q=*:*%20{!parent+which%3Dtype_s:parent}type_s:child&facet=true&child.facet.field=SIZE_s
> {code}
> throws:
> {code}
> 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)
> {code}
> Not that this query makes much sence, but don't expect naked exception.
> This only happens when using BlockJoinFacetComponent -
> BlockJoinDocSetFacetComponent seems to do OK.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]