Chris M. Hostetter created SOLR-17866:
-----------------------------------------

             Summary: GenericSolrRequest.process(client,collection) ignores 
collection with some client impls
                 Key: SOLR-17866
                 URL: https://issues.apache.org/jira/browse/SOLR-17866
             Project: Solr
          Issue Type: Bug
    Affects Versions: 9.9, 9.8, 9.7
            Reporter: Chris M. Hostetter


If you use the {{public final T process(SolrClient client, String collection)}} 
method of a {{GenericSolrRequest}} the {{collection}} param seems to be ignored 
(by default) for "single node" {{SolrClient}} impls.

The problem does not seem to apply when using a "Cloud" based {{SolrClient}} 
impl.

This behavior did not exist up to and including 9.6.1
----
A (possible) work around is to call 
{{GenericSolrRequest.setRequiresCollection(true)}} anytime you know you intend 
to pass a non-null {{collection}} argument to the {{process(...)}} method

(I have only verified this work around in a very small number of cases)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to