[
https://issues.apache.org/jira/browse/SOLR-6759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SOLR-6759:
---------------------------------
Labels: pull-request-available (was: )
> ExpandComponent does not call finish() on DelegatingCollectors
> --------------------------------------------------------------
>
> Key: SOLR-6759
> URL: https://issues.apache.org/jira/browse/SOLR-6759
> Project: Solr
> Issue Type: Bug
> Components: query parsers
> Reporter: Simon Endele
> Assignee: Joel Bernstein
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.10.5
>
> Attachments: ExpandComponent.java.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We have a PostFilter for ACL filtering in action that has a similar structure
> as CollapsingQParserPlugin, i.e. it's DelegatingCollector gathers all
> documents and calls delegate.collect() for all docs finally in its finish()
> method.
> In contrast to CollapsingQParserPlugin our PostFilter is also called by the
> ExpandComponent (for purpose).
> But as the finish method is never called by the ExpandComponent, the "expand"
> section in the result is always empty.
> Tested with Solr 4.10.2.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]