cassandra-lucene-index
cassandra-lucene-index copied to clipboard
Indexing Encrypted data
I have some data that is written to C* as encrypted data (client side encryption). Is it possible to decrypt the data before indexing it?
Hi @thanigaiv,
It is not currently possible, but it probably could be done with a custom mapper designed for this purpose. Are you encrypting each cell value?
Thanks. I have selected fields that are encrypted. Could you point me to the source where the mapper would be invoked?
On Thu, Apr 14, 2016 at 10:31 AM, Andrés de la Peña < [email protected]> wrote:
Hi @thanigaiv https://github.com/thanigaiv,
It is not currently possible, but it probably could be done with a custom mapper designed for this purpose. Are you encrypting each cell value?
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/Stratio/cassandra-lucene-index/issues/116#issuecomment-210066621
Mappers are here. The idea is that you can modify one of the existing mappers or maybe create an new SingleColumnMapper and decrypt your data in the method addIndexedFields before indexing them.
@adelapena can you please provide example how to register that mapper to be recognized by the plugin?
@adelapena: Hi, I'm trying to define an index for filtering file paths (& a value that's assigned to it) with or without wildcards. Here's the index I created: CREATE CUSTOM INDEX search_idx ON db_3.my_files () USING 'com.stratio.cassandra.lucene.Index' WITH OPTIONS = {'refresh_seconds': '30', 'schema': '{fields: {path: {type: "text"},value: {type: "text"}}}'};
WDYT? Is there a better way to index a file path?