Re: Getting CorruptIndexException after auto commit after integrating Solr encryption plugin

2024-07-16 Thread Bruno Roustant
> > how to set COMMIT_ACTIVE_KEY and COMMIT_KEY_ID or PARAM_KEY_ID in > SolrQueryRequest req dynamically ? > If Keys are set to req object before calling > EncryptionRequestHandler.handleRequestBody(SolrQueryRequest req, > SolrQueryResponse rsp), this module will work. Indeed the EncryptionReques

Getting CorruptIndexException after auto commit after integrating Solr encryption plugin

2024-07-15 Thread Kumar01, Manish
Hi Bruno, By passing hard coding ref key and KeyId and forcing shouldReadCommitUserData = true inside EncryptionDirectory.maybeWrapOutput() , encryption is performing without any issue for first document ingest and failed with null pointer for next request. But setting dynamic ref key

Re: Re: Getting CorruptIndexException after auto commit after integrating Solr encryption plugin

2024-07-10 Thread Bruno Roustant
Could you avoid the "RE: Re:" prefix on the email title so that it's easier to have a single thread mail please? 1- From you solrconfig.xml, I suppose org.apache.solr.encryption.KmsKeySupplierFactory is your custom KeySupplierFactory, right? 2- Are you able to run the encryption tests? Do they pas

RE: Re: Getting CorruptIndexException after auto commit after integrating Solr encryption plugin

2024-07-09 Thread Kumar01, Manish
Hi Bruno, Below are details - encryption-specific parts of solrconfig.xml org.apache.solr.encryption.KmsKeySupplierFactory org.apache.solr.encryption.crypto.CipherAesCtrEncrypter$Factory delegate org.apache.solr.index.TieredMergePolicyFactory EncryptionBackupRepository ful

Re: Getting CorruptIndexException after auto commit after integrating Solr encryption plugin

2024-07-08 Thread Bruno Roustant
Hi Manish, First, a disclaimer about the encryption module in solr-sandbox. It is in sandbox, not integrated (yet) in the Solr project, so there can be some road blocks. That said, I'll try to help. 1- Can you share the encryption-specific parts of your solrconfig.xml file? 2- Can you share the f

Getting CorruptIndexException after auto commit after integrating Solr encryption plugin

2024-07-08 Thread Kumar01, Manish
Hi Solr Dev Team, I am getting below error after integrating Solr encryption plugin https://github.com/apache/solr-sandbox/tree/main/encryption in Solr 9.6.0 and Lucence 9.10.0. Caused by: org.apache.lucene.index.CorruptIndexException: codec header mismatch: actual header=-2001497724 vs e