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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

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 <1983160+ashvardanian@users.noreply.github.com>
    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 <mbautin@users.noreply.github.com>
    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