JIRA - https://issues.apache.org/jira/browse/SOLR-2240 Patch attached.
How does the patch make it to the trunk ??? Had submitted a couple of more patches SOLR-2156 & SOLR-2029, would like them to be included in the release. Regards, Jayendra On Wed, Nov 17, 2010 at 2:15 PM, Yonik Seeley <[email protected]>wrote: > On Tue, Nov 16, 2010 at 8:57 PM, Jayendra Patil > <[email protected]> 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); > > > Sounds like a good idea to me. > Could you open a JIRA issue for this feature, and supply a patch if > you get to it? > > -Yonik > http://www.lucidimagination.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
