On third thought, I can’t think of how you’d easily inject a
PasswordProvider into Solr’s integration.

Please see Erick Erickson’s evergreen advice and linked blog post:

https://mail-archives.apache.org/mod_mbox/lucene-solr-user/201805.mbox/%3ccan4yxve_0gn0a1y7wjpr27inuddo6+jzwwfgvzkfs40gh3r...@mail.gmail.com%3e


On Sat, May 26, 2018 at 6:34 AM Tim Allison <talli...@apache.org> wrote:

> You’ll need to provide a PasswordProvider in the ParseContext.  I don’t
> think that is currently possible in the Solr integration. Please open a
> ticket if SolrJ doesn’t meet your needs.
>
> On Thu, May 24, 2018 at 1:03 PM Alexandre Rafalovitch <arafa...@gmail.com>
> wrote:
>
>> Hmm. If it works, then it is Tika magic. Which may mean they may have a
>> setting for passwords. Which would need to be configured and then exposed
>> through Solr.
>>
>> So, I would check if you can extract text with Tika standalone first.
>>
>> Regards,
>>     Alex
>>
>> On Thu, May 24, 2018, 5:05 AM Dimitris Kardarakos, <
>> dimitris.kardara...@iteam.gr> wrote:
>>
>> > Hello everyone.
>> >
>> > In Solr 7.3.0 I can successfully index the content of zip files.
>> >
>> > But if the zip file is password protected, running something like the
>> > below:
>> >
>> > curl
>> > "
>> >
>> http://localhost:8983/solr/sample/update/extract?commit=true&&literal.id=enc.zip&resource.password=1234
>> "
>> >
>> > -H "Content-Type: application/zip" --data-binary @enc.zip
>> >
>> > only the names of the files contained are indexed.
>> >
>> > Is it a known issue or I am doing sth wrong?
>> >
>> > Thanks!
>> >
>> > --
>> > Dimitris Kardarakos
>> >
>> >
>>
>

Reply via email to