--- warning: DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github.com/duckdb/community-extensions repository, check README there title: lsh excerpt: | DuckDB Community Extensions Extension for locality-sensitive hashing (LSH) extension: name: lsh description: Extension for locality-sensitive hashing (LSH) version: 0.2.5 language: Rust build: cargo license: MIT excluded_platforms: "wasm_mvp;wasm_eh;wasm_threads;linux_amd64_musl" requires_toolchains: "rust;python3" maintainers: - yoonspark - ericmanning repo: github: princeton-ddss/lsh ref: 66c2eb19ab6bc6f410a5fe07a5c3975d4aa158d9 docs: hello_world: | -- Create toy data CREATE TEMPORARY TABLE temp_names AS SELECT * FROM ( VALUES ('Alice Johnson'), ('Robert Smith'), (NULL), ('Charlotte Brown'), ) AS t(name); -- Apply MinHash SELECT lsh_min(name, 2, 3, 2, 123) AS hash FROM temp_names; extended_description: | For more information regarding usage, see the [documentation](https://github.com/princeton-ddss/lsh). extension_star_count: 14 extension_star_count_pretty: 14 extension_download_count: 635 extension_download_count_pretty: 635 image: '/images/community_extensions/social_preview/preview_community_extension_lsh.png' layout: community_extension_doc --- ### Compatibility Matrix This table covers all DuckDB releases that have not reached [end-of-life](https://duckdb.org/release_calendar), including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.
| Platform | 1.4.4 | 1.4.5 | 1.5.5 | 1.5.6 | 2.0.0 | | :--- | :---: | :---: | :---: | :---: | :---: | | Linux AMD64 | ✅ | ❌ | ❌ | ❌ | ❌ | | Linux ARM64 | ✅ | ❌ | ❌ | ❌ | ❌ | | macOS AMD64 | ✅ | ❌ | ❌ | ❌ | ❌ | | macOS ARM64 | ✅ | ❌ | ❌ | ❌ | ❌ | | Windows AMD64 | ✅ | ❌ | ❌ | ❌ | ❌ | | Windows ARM64 | ❌ | ❌ | ❌ | ❌ | ❌ | | WebAssembly | ❌ | ❌ | ❌ | ❌ | ❌ | ### Installing and Loading ```sql INSTALL {{ page.extension.name }} FROM community; LOAD {{ page.extension.name }}; ``` {% if page.docs.hello_world %} ### Example ```sql {{ page.docs.hello_world }}``` {% endif %} {% if page.docs.extended_description %} ### About {{ page.extension.name }} {{ page.docs.extended_description }} {% endif %} ### Added Functions | function_name | function_type | description | comment | examples | |-----------------|---------------|----------------------------------------------------------------------------------------------------------|------------------------------------------------------|----------| | lsh_min | scalar | Computes band hashes for each input string (or list of existing shingles) based on its MinHash signature | Produces list of 64-bit band hashes | NULL | | lsh_min32 | scalar | Computes band hashes for each input string (or list of existing shingles) based on its MinHash signature | Reduces each band hash to 32 bits | NULL | | lsh_euclidean | scalar | Computes band hashes for each input point based on its Euclidean LSH signature | Produces list of 64-bit band hashes | NULL | | lsh_euclidean32 | scalar | Computes band hashes for each input point based on its Euclidean LSH signature | Reduces each band hash to 32 bits | NULL | | lsh_jaccard | scalar | Computes Jaccard similarity for each input string pair | Accepts ngram argument, unlike core Jaccard function | NULL | ### Overloaded Functions This extension does not add any function overloads. ### Added Types This extension does not add any types. ### Added Settings This extension does not add any settings.