Struct ironoxide::search::BlindIndexSearch [−][src]
pub struct BlindIndexSearch { /* fields omitted */ }
Implementations
Generate the list of tokens to use to find entries that match the search query, given the specified partition_id. query - The string you want to tokenize and hash partition_id - An extra string you want to include in every hash, this allows 2 queries with different partition_ids to produce a different set of tokens for the same query
Generate the list of tokens to create a search entry for data
. This function will also return some random values in the HashSet, which will make
it harder for someone to know what the input was. Because of this, calling this function will not be the same as tokenize_query
, but tokenize_query
will always
return a subset of the values returned by tokenize_data
.
data - The string you want to tokenize and hash partition_id - An extra string you want to include in every hash, this allows 2 queries with different partition_ids to produce a different set of tokens for the same data
Trait Implementations
type Error = IronOxideErr
type Error = IronOxideErr
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for BlindIndexSearch
impl Send for BlindIndexSearch
impl Sync for BlindIndexSearch
impl Unpin for BlindIndexSearch
impl UnwindSafe for BlindIndexSearch