[][src]Module lsh_rs::prelude

Re-export of the public api of lsh-rs.

Modules

hi8
hi16
hi32
hi64

Structs

L2

L2 Hasher family. Read more.

LSH

Wrapper for LSH functionality. Can be initialized following the Builder pattern.

MIPS

Maximum Inner Product Search. Read more.

MemoryTable

In memory backend for LSH.

MinHash

A hash family for the Jaccard Index /// The generic integer N, needs to be able to hold the number of dimensions. so a u8 with a vector of > 255 dimensions will cause a panic.

SignRandomProjections

A family of hashers for the cosine similarity.

SqlTable

Sqlite backend for LSH.

SqlTableMem

In memory Sqlite backend for LSH.

Enums

Error

Traits

HashTables

Hashtable consisting of L Hash tables.

QueryDirectedProbe

Query directed probing

StepWiseProbe

Step wise probing

VecHash

Implement this trait to create your own custom hashers. In case of a symmetrical hash function, only hash_vec_query needs to be implemented.

Type Definitions

LshMem
LshSql
LshSqlMem
Result