@@ -201,7 +201,7 @@ After adding these indexes, our `eql_v2_configuration` table will look like this
201201``` bash
202202id | 1
203203state | pending
204- data | {" v" : 1, " tables" : {" users" : {" email_encrypted" : {" cast_as" : " text" , " indexes" : {" ore" : {}, " match" : {" k" : 6, " m " : 2048, " tokenizer" : {" kind" : " ngram" , " token_length" : 3}, " token_filters" : [{" kind" : " downcase" }], " include_original" : true}, " unique" : {" token_filters" : [{" kind" : " downcase" }]}}}}}}
204+ data | {" v" : 1, " tables" : {" users" : {" email_encrypted" : {" cast_as" : " text" , " indexes" : {" ore" : {}, " match" : {" k" : 6, " bf " : 2048, " tokenizer" : {" kind" : " ngram" , " token_length" : 3}, " token_filters" : [{" kind" : " downcase" }], " include_original" : true}, " unique" : {" token_filters" : [{" kind" : " downcase" }]}}}}}}
205205```
206206
207207The initial ` state ` will be set as pending.
@@ -218,7 +218,7 @@ The `cs_configured_v2` table will now have a state of `active`.
218218``` bash
219219id | 1
220220state | active
221- data | {" v" : 1, " tables" : {" users" : {" email_encrypted" : {" cast_as" : " text" , " indexes" : {" ore" : {}, " match" : {" k" : 6, " m " : 2048, " tokenizer" : {" kind" : " ngram" , " token_length" : 3}, " token_filters" : [{" kind" : " downcase" }], " include_original" : true}, " unique" : {" token_filters" : [{" kind" : " downcase" }]}}}}}}
221+ data | {" v" : 1, " tables" : {" users" : {" email_encrypted" : {" cast_as" : " text" , " indexes" : {" ore" : {}, " match" : {" k" : 6, " bf " : 2048, " tokenizer" : {" kind" : " ngram" , " token_length" : 3}, " token_filters" : [{" kind" : " downcase" }], " include_original" : true}, " unique" : {" token_filters" : [{" kind" : " downcase" }]}}}}}}
222222```
223223
224224### Encrypting existing plaintext data
@@ -325,7 +325,7 @@ It creates an EQL payload that looks similar to this and inserts this into the e
325325 "t" : " users" , // Table
326326 "c" : " email_encrypted" // Encrypted column
327327 },
328- "m " : [42 ], // The ciphertext used for free text queries i.e match index
328+ "bf " : [42 ], // The ciphertext used for free text queries i.e match index
329329 "u" : " unique ciphertext" , // The ciphertext used for unique queries. i.e unique index
330330 "ob" : [" a" , " b" , " c" ], // The ciphertext used for order or comparison queries. i.e ore index
331331 "v" : 1
@@ -386,7 +386,7 @@ The json stored in the database looks similar to this:
386386 "t" : " users" , // Table
387387 "c" : " email_encrypted" // Encrypted column
388388 },
389- "m " : [42 ], // The ciphertext used for free text queries i.e match index
389+ "bf " : [42 ], // The ciphertext used for free text queries i.e match index
390390 "u" : " unique ciphertext" , // The ciphertext used for unique queries. i.e unique index
391391 "ob" : [" a" , " b" , " c" ], // The ciphertext used for order or comparison queries. i.e ore index
392392 "v" : 1
0 commit comments