[ 
https://issues.apache.org/jira/browse/SOLR-13213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Høydahl updated SOLR-13213:
-------------------------------
    Description: When creating a custom search component for a customer, I 
realised that modifying "shards" parameter in {{prepare()}} is not possible 
since in {{SearchHandler}}, the {{ShardHandler}} is initialised based on 
"shards" parameter just *before* search components are consulted.  (was: 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.)

> 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
>            Priority: Major
>             Fix For: 8.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When creating a custom search component for a customer, I realised that 
> modifying "shards" parameter in {{prepare()}} is not possible since in 
> {{SearchHandler}}, the {{ShardHandler}} is initialised based on "shards" 
> parameter just *before* search components are consulted.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to