You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Tomohiro Manabe (Jira)" <ji...@apache.org> on 2019/12/17 07:56:00 UTC

[jira] [Created] (SOLR-14102) FacetModule use number of responses from shards as number of shards

Tomohiro Manabe created SOLR-14102:
--------------------------------------

             Summary: FacetModule use number of responses from shards as number of shards
                 Key: SOLR-14102
                 URL: https://issues.apache.org/jira/browse/SOLR-14102
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Tomohiro Manabe


Hi, I am developing a SearchComponent which sends some requests to only a part of shards.
Basically it works well, but using it with facetting triggers an error.
I found that FacetModule use the number of responses from shards (sreq.responses.size()) as the number of shards.
Of course this assumption is incorrect in case that only a part of shards respond.
Instead of the number of responses, using rb.shards.length may be better.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org