Would it be okay to have empty docs in the index that represent the encrypted? You could use https://solr.apache.org/guide/solr/latest/configuration-guide/script-update-processor.html and then conditionally populate the data or not…. Maybe have a “is_encrypted” boolean flag?
> On Dec 20, 2023, at 6:07 AM, Andrew Beverley <[email protected]> wrote: > > Hello all, > > I am looking for a way to silently skip the indexing of documents that are > encrypted. > > Currently I see an exception: > > 500 Exception => org.apache.solr.common.SolrException: > org.apache.tika.exception.EncryptedDocumentException: Unable to pr > ocess: document is encrypted > > I am wondering whether it is possible to use an Update Request Processor to > skip such documents. Or whether there is a way to configure Tika to skip such > documents? Let me know if I should be asking this question on the Tika > mailing list. > > Many thanks, > > Andy _______________________ Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.
