[
https://issues.apache.org/jira/browse/SOLR-6813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247399#comment-14247399
]
Joel Bernstein commented on SOLR-6813:
--------------------------------------
My initial thoughts...
In distrib.singlePass mode the ExpandComponent will be returning more documents
then are needed to satisfy the query.
Here is the basic logic:
1) In non-distributed mode: Return expanded groups for all documents in the
docList.
2) In distributed mode: Return expanded groups for all documents referenced in
the ID parameter. This ensured that only documents in the current page were
expanded.
With distrib.singlePass mode the ExpandComponent will behave like #1. So if the
page size is 10 and there are ten shards, each shard will return 10 expanded
groups. So there will be 100 expanded groups in the output.
To resolve this issue the handleResponses method in the ExpandComponent is
going to have to remove expanded groups that are not in the final merged
docList.
> distrib.singlePass does not work for expand-request - start/rows included
> -------------------------------------------------------------------------
>
> Key: SOLR-6813
> URL: https://issues.apache.org/jira/browse/SOLR-6813
> Project: Solr
> Issue Type: Bug
> Components: multicore, search
> Reporter: Per Steffensen
> Assignee: Joel Bernstein
> Labels: distributed_search, search
> Attachments: test_that_reveals_the_problem.patch
>
>
> Using distrib.singlePass does not work for expand-requests. Even after the
> fix provided to SOLR-6812, it does not work for requests where you add start
> and/or rows.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]