Chris - not sure if what you are seeing is related to basic auth
credentials not being sent until a 401. There was report of this behavior
with Apache Knox in front of Solr.
https://issues.apache.org/jira/browse/KNOX-1066
The jira above has an example of how to preemptively send basic auth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Dimitris,
On 6/1/18 02:46, Dimitris Kardarakos wrote:
> Thanks a lot Shawn. I had tried with the documented approach, but
> since I use SolrClient.add to add documents to the index, I could
> not "port" the documented approach to my case (probably
Thanks a lot Shawn. I had tried with the documented approach, but since
I use SolrClient.add to add documents to the index, I could not "port"
the documented approach to my case (probably I do miss something).
The custom HttpClient suggestion worked as expected!
On 31/05/2018 06:16 μμ, Shawn
On 5/31/2018 8:03 AM, Dimitris Kardarakos wrote:
> Following the feedback in the "Index protected zip" thread, I am
> trying to add documents to the index using SolrJ API.
>
> The server is in SolrCloud mode with BasicAuthPlugin for authentication.
>
> I have not managed to figure out how to pass
Hi.
Following the feedback in the "Index protected zip" thread, I am trying
to add documents to the index using SolrJ API.
The server is in SolrCloud mode with BasicAuthPlugin for authentication.
I have not managed to figure out how to pass username/password to my client.
Thanks,
--