Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clustering & Minor Patches in JS, Rust, & Java SDKs #503

Merged
merged 39 commits into from
Oct 29, 2024
Merged

Commits on Aug 23, 2024

  1. Improve: Clustering

    ashvardanian committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    d68fb62 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Configuration menu
    Copy the full SHA
    f0c250e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f4c98c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7416247 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9c799e1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e35eab8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    db0f44d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3af4801 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Fix: Stride arithmetic

    ashvardanian committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    ce1af09 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d53d18 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f12314c View commit details
    Browse the repository at this point in the history
  4. Fix: Type-casting

    ashvardanian committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    e448ce3 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Make: Rust CI build and test

    CCnut committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    1a6753b View commit details
    Browse the repository at this point in the history
  2. Make: Android CI build and test

    CCnut committed Sep 29, 2024
    Configuration menu
    Copy the full SHA
    f1c158f View commit details
    Browse the repository at this point in the history
  3. Fix: Android build

    CCnut authored Sep 29, 2024
    Configuration menu
    Copy the full SHA
    189bb0b View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Fix: JavaScript Change the return value of index.count() to a number

    The return value of index.count() was a boolean, so it was changed to a number.
    abetomo committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    7425cd7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f315979 View commit details
    Browse the repository at this point in the history
  3. Fix: Raise exceptions from add() in JS (#486)

    For example, if you try to add the same key, it aborts.
    
    ```
    terminate called after throwing an instance of 'std::runtime_error'
      what():  Duplicate keys not allowed in high-level wrappers
    Aborted (core dumped)
    ```
    
    Improved error handling to throw JavaScript exceptions.
    abetomo authored Oct 10, 2024
    Configuration menu
    Copy the full SHA
    d6fd1eb View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Fix: Reserve after deserialization in JS (#484)

    I got an error when I loaded and searched with load() or view().
    
    Code Example:
    
    ```js
    // Saved with `index.save('index.usearch');` in another script.
    index.load('index.usearch');
    const results = index.search(new Float32Array([0.2, 0.6, 0.4]), 10);
    ```
    abetomo authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    16dec63 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Fix: Skip JS view() on Winodws (#504)

    The test itself succeeds, but fails with the following error when deleting the index file created by save() in afterEach().
    
    ```
    error: "EBUSY: resource busy or locked, unlink 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\usearch.test.index'"
    ```
    
    Since it is only in Winodws that it fails, we will skip it on Winodws for now.
    We will continue to investigate the solution.
    abetomo authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    08c835d View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Configuration menu
    Copy the full SHA
    9969f10 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #499 from CCnut/main-dev

    Add Rust and Android CI build
    ashvardanian authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8fa3090 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Fix: Remove from a read-only index (#506)

    The index read by `view()` is read-only.
    When I did a `remove()` on that index, it crashed.
    
    ---------
    
    Co-authored-by: Ash Vardanian <[email protected]>
    abetomo and ashvardanian authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    c27c99d View commit details
    Browse the repository at this point in the history
  2. Add: Metadata for observability (#508)

    ---------
    
    Co-authored-by: Mikhail Bautin <[email protected]>
    mbautin and mbautin authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    113a786 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Doc: Error message type (#509)

    Related: GH-506
    abetomo authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    aa2ddd7 View commit details
    Browse the repository at this point in the history
  2. Add: kmeans Python API

    ashvardanian committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    19a9d0b View commit details
    Browse the repository at this point in the history
  3. Docs: Spelling

    ashvardanian committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    730815f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    64142ee View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Make: Bump SimSIMD

    ashvardanian committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    295b3d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0dac789 View commit details
    Browse the repository at this point in the history
  3. Improve: Clustering benchmarks

    Remove `fire` dependency and
    document usage.
    ashvardanian committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    e057feb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    91c0bcb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f9fc617 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3f5a4ef View commit details
    Browse the repository at this point in the history
  7. Fix: Initializing std::atomic

    Without this the the Java build on Ubuntu
    with GCC fails.
    ashvardanian committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    f80ded9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fbcab99 View commit details
    Browse the repository at this point in the history
  9. Fix: Avoid std::accumulate

    The `<numeric>` header that contains that
    function brings up to 2K lines of templates.
    ashvardanian committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    e4afcf3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6f132bb View commit details
    Browse the repository at this point in the history
  11. Fix: Generating 64-bit unsigned seeds

    The previous solution failed on Windows with:
    > ValueError: high is out of bounds for int32
    ashvardanian committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    512c6aa View commit details
    Browse the repository at this point in the history