lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jayendra Patil <jayendra.patil....@gmail.com>
Subject Re: basic authentication for schema.url
Date Tue, 16 Nov 2010 23:43:35 GMT
I meant stream.url

Regards,
Jayendra

On Tue, Nov 16, 2010 at 5:37 PM, Jayendra Patil <
jayendra.patil.001@gmail.com> wrote:

> We intend to use schema.url for indexing documents. However, the remote
> urls are secured and would need basic authentication to be able access the
> document.
>
> The implementation with stream.file would mean to download the files and
> would cause duplicity, whereas stream.body would have indexing performance
> issues with the hugh data being transferred over the network.
>
> The current implementation for stream.url in ContentStreamBase.URLStream
> does not support authentication.
> But can be easily supported by :-
> 1. Passing additional authentication parameter e.g. stream.url.auth with
> the encoded authentication value - SolrRequestParsers
> 2. Setting Authorization request property for the Connection -
> ContentStreamBase.URLStream
>     this.conn.setRequestProperty("Authorization", "Basic " +
> encodedauthentication);
>
> Any suggestions ???
>
> Regards,
> Jayendra
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message