lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Bende <>
Subject Re: Solr6.3.0 SolrJ API for Basic Authentication
Date Thu, 16 Feb 2017 14:39:53 GMT

The QueryRequest was just an example, it will work with any request
that extends SolrRequest.

How are you indexing your documents?

I am going to assume you are doing something like this:

SolrClient client = ...

Behind the scenes this will do something like the following:

UpdateRequest req = new UpdateRequest();
req.process(client, collection);

So you can do that your self and first set the basic auth credentials
on the UpdateRequest which extends SolrRequest.



On Thu, Feb 16, 2017 at 5:45 AM, vrindavda <> wrote:
> Hi Bryan,
> Thanks for your quick response.
> I am trying to ingest data into SolrCloud,  Hence I will not have any solr
> query. Will it be right approach to use QueryRequest to index data ? Do I
> need to put any dummy solrQuery instead ?
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

View raw message