You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2019/02/03 23:38:00 UTC

[jira] [Created] (SOLR-13213) Search Components cannot modify "shards" parameter

Jan Høydahl created SOLR-13213:
----------------------------------

             Summary: Search Components cannot modify "shards" parameter
                 Key: SOLR-13213
                 URL: https://issues.apache.org/jira/browse/SOLR-13213
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: search
            Reporter: Jan Høydahl
             Fix For: 8.x


When creating a custom search component for a customer, I realised that modifying "shards" parameter in {{prepare()}} is not possible since the "shards" parameter is read from request in {{SearchHandler#handleRequestBody}} in {{getAndPrepShardHandler()}} just before search components are consulted, after which it is too late to change it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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