FP-Devicer - v2.0.2
    Preparing search index...

    Function buildLshIndex

    • Build an LshIndex from an array of { deviceId, fingerprint } pairs.

      Typically called with the output of adapter.getAllFingerprints() (after deduplication to the latest snapshot per device).

      Parameters

      • entries: { deviceId: string; fingerprint: FPUserDataSet }[]

        Array of { deviceId, fingerprint } objects.

      • Optionaloptions: LshOptions

        Optional tuning parameters.

      Returns LshIndex

      A populated LSH index.