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 > > > > >