From 85bee7a77ffa087958a0a515341cb8102725428a Mon Sep 17 00:00:00 2001 From: Peter Sobot Date: Tue, 19 Mar 2024 14:44:28 -0400 Subject: [PATCH] Bump to v2.0.4. (#56) * Bump to v2.0.4. * Format pyi file with Black. --- docs/java/allclasses-index.html | 236 +-- docs/java/allpackages-index.html | 182 +- .../voyager/jni/Index.QueryResults.html | 508 ++---- .../spotify/voyager/jni/Index.SpaceType.html | 469 ++---- .../voyager/jni/Index.StorageDataType.html | 469 ++---- docs/java/com/spotify/voyager/jni/Index.html | 1500 +++++++---------- .../voyager/jni/StringIndex.QueryResults.html | 471 ++---- .../com/spotify/voyager/jni/StringIndex.html | 864 ++++------ .../jni/class-use/Index.QueryResults.html | 260 +-- .../jni/class-use/Index.SpaceType.html | 397 ++--- .../jni/class-use/Index.StorageDataType.html | 365 ++-- .../spotify/voyager/jni/class-use/Index.html | 256 +-- .../class-use/StringIndex.QueryResults.html | 218 +-- .../voyager/jni/class-use/StringIndex.html | 264 +-- .../spotify/voyager/jni/package-summary.html | 265 +-- .../com/spotify/voyager/jni/package-tree.html | 170 +- .../com/spotify/voyager/jni/package-use.html | 242 +-- .../voyager/jni/utils/JniLibExtractor.html | 354 ++-- .../spotify/voyager/jni/utils/TinyJson.html | 387 ++--- .../jni/utils/class-use/JniLibExtractor.html | 149 +- .../voyager/jni/utils/class-use/TinyJson.html | 149 +- .../voyager/jni/utils/package-summary.html | 205 +-- .../voyager/jni/utils/package-tree.html | 156 +- .../voyager/jni/utils/package-use.html | 147 +- .../com/spotify/voyager/package-summary.html | 175 +- .../com/spotify/voyager/package-tree.html | 146 +- .../java/com/spotify/voyager/package-use.html | 147 +- docs/java/help-doc.html | 331 ++-- docs/java/index-all.html | 438 ++--- docs/java/index.html | 186 +- docs/java/jquery-ui.overrides.css | 3 +- docs/java/legal/jquery.md | 8 +- docs/java/legal/jqueryUI.md | 2 +- docs/java/member-search-index.js | 2 +- docs/java/overview-summary.html | 15 +- docs/java/overview-tree.html | 174 +- docs/java/package-search-index.js | 2 +- docs/java/script-dir/jquery-3.6.1.min.js | 2 + docs/java/script-dir/jquery-ui.min.css | 7 +- docs/java/script-dir/jquery-ui.min.js | 4 +- docs/java/script.js | 183 +- docs/java/search.js | 408 ++--- docs/java/stylesheet.css | 783 ++++----- docs/java/type-search-index.js | 2 +- docs/python/_static/basic.css | 5 +- docs/python/_static/copybutton.js | 4 +- docs/python/_static/debug.css | 2 +- docs/python/_static/doctools.js | 2 +- docs/python/_static/documentation_options.js | 2 +- docs/python/_static/language_data.js | 2 +- docs/python/_static/pygments.css | 4 +- docs/python/_static/scripts/furo.js | 2 +- docs/python/_static/scripts/furo.js.map | 2 +- docs/python/_static/searchtools.js | 2 +- docs/python/_static/skeleton.css | 44 +- docs/python/_static/styles/furo.css | 2 +- docs/python/_static/styles/furo.css.map | 2 +- docs/python/genindex.html | 19 +- docs/python/index.html | 25 +- docs/python/reference.html | 47 +- docs/python/search.html | 19 +- java/pom.xml | 2 +- python/voyager/__init__.pyi | 879 ++++++++++ python/voyager/version.py | 2 +- 64 files changed, 4944 insertions(+), 7825 deletions(-) create mode 100644 docs/java/script-dir/jquery-3.6.1.min.js create mode 100644 python/voyager/__init__.pyi diff --git a/docs/java/allclasses-index.html b/docs/java/allclasses-index.html index 50294d1d..5e69bdad 100644 --- a/docs/java/allclasses-index.html +++ b/docs/java/allclasses-index.html @@ -1,216 +1,108 @@ - - -All Classes (voyager 2.0.2 API) + +All Classes and Interfaces (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
-

All Classes

-
-
- +
+
+
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/allpackages-index.html b/docs/java/allpackages-index.html index 5ddf1c61..3f8297b4 100644 --- a/docs/java/allpackages-index.html +++ b/docs/java/allpackages-index.html @@ -1,180 +1,78 @@ - - -All Packages (voyager 2.0.2 API) + +All Packages (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +

All Packages

-
- +
+ +
 
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/Index.QueryResults.html b/docs/java/com/spotify/voyager/jni/Index.QueryResults.html index 9ca2a741..9b644a71 100644 --- a/docs/java/com/spotify/voyager/jni/Index.QueryResults.html +++ b/docs/java/com/spotify/voyager/jni/Index.QueryResults.html @@ -1,433 +1,261 @@ - - -Index.QueryResults (voyager 2.0.2 API) + +Index.QueryResults (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ - +
+
- -

Class Index.QueryResults

+ +

Class Index.QueryResults

-
- -
-
    -
  • -
    +
    java.lang.Object +
    com.spotify.voyager.jni.Index.QueryResults
    +
    +
    +
    Enclosing class:
    Index

    -
    public static class Index.QueryResults
    -extends Object
    +
    public static class Index.QueryResults +extends Object
    A container for query results, returned by Index. Note that this class is instantiated from C++, and as such, any changes to its location, visibility, or constructor will need to include corresponding C++ changes.
    -
  • -
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Field Summary

        - - - - - - - - - - - - - - - - - -
        Fields 
        Modifier and TypeFieldDescription
        float[]distances +
      • +
        +

        Field Summary

        +
        Fields
        +
        +
        Modifier and Type
        +
        Field
        +
        Description
        +
        final float[]
        + +
        A list of distances from each item ID to the query vector for this query.
        -
      • long[]labels + +
        final long[]
        + +
        A list of item IDs ("labels").
        -
        -
      • -
      +
+
+ -
-
    -
  • - - -

    Constructor Summary

    - - - - - - - - - - -
    Constructors 
    ConstructorDescription
    QueryResults​(long[] labels, - float[] distances) +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    QueryResults(long[] labels, + float[] distances)
    +
    Instantiates a new QueryResults object, provided two identical-length arrays of labels and their corresponding distances.
    -
  • -
  • -
+
+
+ -
- + + + +
 
+ + + +
+

Methods inherited from class java.lang.Object

+clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- -
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Field Detail

        - - - -
          -
        • -

          labels

          -
          public final long[] labels
          +
        • +
          +

          Field Details

          +
            +
          • +
            +

            labels

            +
            public final long[] labels
            A list of item IDs ("labels").
            +
          • -
          - - - -
            -
          • -

            distances

            -
            public final float[] distances
            +
          • +
            +

            distances

            +
            public final float[] distances
            A list of distances from each item ID to the query vector for this query.
            -
          • -
          +
      + -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          QueryResults

          -
          public QueryResults​(long[] labels,
          -                    float[] distances)
          +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            QueryResults

            +
            public QueryResults(long[] labels, + float[] distances)
            Instantiates a new QueryResults object, provided two identical-length arrays of labels and their corresponding distances. This method should probably not be used directly, as this class is primarily used as a return type from the query method on Index.
            -
            -
            Throws:
            -
            IllegalArgumentException - if the length of the labels and distances arrays vary
            +
            +
            Throws:
            +
            IllegalArgumentException - if the length of the labels and distances arrays vary
            -
          • -
          +
      + -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          toString

          -
          public String toString()
          -
          -
          Overrides:
          -
          toString in class Object
          +
        • +
          +

          Method Details

          + - - - -
            -
          • -

            getLabels

            -
            public long[] getLabels()
            +
          • +
            +

            getLabels

            +
            public long[] getLabels()
            Retrieve the list of item IDs ("labels") returned by this query. This array is sorted by distance: the first item is the closest to the query vector, the second is second-closest, and so on. The items in this array correspond 1:1 with the distances returned by getDistances().
            +
          • -
          - - - -
            -
          • -

            getDistances

            -
            public float[] getDistances()
            +
          • +
            +

            getDistances

            +
            public float[] getDistances()
            Retrieve the list of distances between query vectors and item vectors for the results of this query. This array is sorted by distance: the first distance corresponds with the item the closest to the query vector, the second is second-closest, and so on. The items in this array correspond 1:1 with the labels returned by getLabels().
            -
          • -
          +
    -
- - + +
-
-
- -
- - - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/Index.SpaceType.html b/docs/java/com/spotify/voyager/jni/Index.SpaceType.html index bbb69c76..1bfe990e 100644 --- a/docs/java/com/spotify/voyager/jni/Index.SpaceType.html +++ b/docs/java/com/spotify/voyager/jni/Index.SpaceType.html @@ -1,415 +1,244 @@ - - -Index.SpaceType (voyager 2.0.2 API) + +Index.SpaceType (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+
+ +
- +
+
- -

Enum Index.SpaceType

+ +

Enum Index.SpaceType

-
- -
- -
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Enum Constant Summary

        - - - - - - - - - - - - - - - - - - -
        Enum Constants 
        Enum ConstantDescription
        Cosine +
      • +
        +

        Enum Constant Summary

        +
        Enum Constants
        +
        +
        Enum Constant
        +
        Description
        + +
        Cosine distance; i.e.
        -
      • Euclidean + + +
        Euclidean distance, also known as L2 distance.
        -
        InnerProduct + + +
        Inner (dot) product.
        -
        -
      • -
      +
+
+ -
- +
+ + + +
+

Methods inherited from class java.lang.Enum

+clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+
+

Methods inherited from class java.lang.Object

+getClass, notify, notifyAll, wait, wait, wait
- -
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Enum Constant Detail

        - - - -
          -
        • -

          Euclidean

          -
          public static final Index.SpaceType Euclidean
          +
        • +
          +

          Enum Constant Details

          +
            +
          • +
            +

            Euclidean

            +
            public static final Index.SpaceType Euclidean
            Euclidean distance, also known as L2 distance. Computed by taking the square root of the sum of squared differences between each element of each vector.
            +
          • -
          - - - -
            -
          • -

            InnerProduct

            -
            public static final Index.SpaceType InnerProduct
            +
          • +
            +

            InnerProduct

            +
            public static final Index.SpaceType InnerProduct
            Inner (dot) product. Computed by taking the sum of the products of each element of each vector. Since v2.0, this is implemented using the order preserving transform defined in this paper from Microsoft: https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/XboxInnerProduct.pdf
            +
          • -
          - - - -
            -
          • -

            Cosine

            -
            public static final Index.SpaceType Cosine
            +
          • +
            +

            Cosine

            +
            public static final Index.SpaceType Cosine
            Cosine distance; i.e. normalized dot product. Computed by taking the sum of the products of each element of each vector, divided by the product of the magnitudes of each vector.
            -
          • -
          +
      + -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          values

          -
          public static Index.SpaceType[] values()
          +
        • +
          +

          Method Details

          +
            +
          • +
            +

            values

            +
            public static Index.SpaceType[] values()
            Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
            -for (Index.SpaceType c : Index.SpaceType.values())
            -    System.out.println(c);
            -
            -
            -
            Returns:
            +the order they are declared.
+
+
Returns:
an array containing the constants of this enum type, in the order they are declared
+ - - - - -
    -
  • -

    valueOf

    -
    public static Index.SpaceType valueOf​(String name)
    +
  • +
    +

    valueOf

    +
    public static Index.SpaceType valueOf(String name)
    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
    -
    -
    Parameters:
    +
    +
    Parameters:
    name - the name of the enum constant to be returned.
    -
    Returns:
    +
    Returns:
    the enum constant with the specified name
    -
    Throws:
    -
    IllegalArgumentException - if this enum type has no constant with the specified name
    -
    NullPointerException - if the argument is null
    +
    Throws:
    +
    IllegalArgumentException - if this enum type has no constant with the specified name
    +
    NullPointerException - if the argument is null
    -
  • -
+ - - - + +
-
-
- -
- - - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/Index.StorageDataType.html b/docs/java/com/spotify/voyager/jni/Index.StorageDataType.html index 65c35153..8c5907bb 100644 --- a/docs/java/com/spotify/voyager/jni/Index.StorageDataType.html +++ b/docs/java/com/spotify/voyager/jni/Index.StorageDataType.html @@ -1,261 +1,167 @@ - - -Index.StorageDataType (voyager 2.0.2 API) + +Index.StorageDataType (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+
+ +
- +
+
- -

Enum Index.StorageDataType

+ +

Enum Index.StorageDataType

-
- -
- -
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Enum Constant Summary

        - - - - - - - - - - - - - - - - - - -
        Enum Constants 
        Enum ConstantDescription
        E4M3 +
      • +
        +

        Enum Constant Summary

        +
        Enum Constants
        +
        +
        Enum Constant
        +
        Description
        + +
        A custom 8-bit floating point data type with range [-448, 448] and variable precision.
        -
      • Float32 + + +
        A 32-bit floating point ("Float") data type.
        -
        Float8 + + +
        An 8-bit floating point data type that expects all values to be on [-1, 1].
        -
        -
      • -
      +
+
+ -
- +
+ + + +
+

Methods inherited from class java.lang.Enum

+clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+
+

Methods inherited from class java.lang.Object

+getClass, notify, notifyAll, wait, wait, wait
- -
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Enum Constant Detail

        - - - -
          -
        • -

          Float8

          -
          public static final Index.StorageDataType Float8
          +
        • +
          +

          Enum Constant Details

          +
            +
          • +
            +

            Float8

            +
            public static final Index.StorageDataType Float8
            An 8-bit floating point data type that expects all values to be on [-1, 1]. This data type provides adequate precision for many use cases, but cuts down memory usage bu a factor of 4x compared to Float32, while also increasing query speed. @@ -263,155 +169,78 @@

            Float8

            Float8 provides 8 bits of resolution; i.e.: the distance between successive values is 1/127, or 0.00787. For a variable-precision (i.e.: _actually_ floating point) representation, use E4M3.

            +
          • -
          - - - - - - - -
            -
          • -

            E4M3

            -
            public static final Index.StorageDataType E4M3
            +
          • +
            +

            E4M3

            +
            public static final Index.StorageDataType E4M3
            A custom 8-bit floating point data type with range [-448, 448] and variable precision. Use this data type to get 4x less memory usage compared to Float32, but when the values of vectors to be stored in an Index may exceed [-1, 1].

            E4M3 uses a 4-bit exponent and 3-bit mantissa field, and was inspired by the paper "FP8 Formats for Deep Learning" by Micikevicus et al (arXiv:2209.05433).

            -
          • -
          +
      + -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          values

          -
          public static Index.StorageDataType[] values()
          +
        • +
          +

          Method Details

          +
            +
          • +
            +

            values

            +
            public static Index.StorageDataType[] values()
            Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
            -for (Index.StorageDataType c : Index.StorageDataType.values())
            -    System.out.println(c);
            -
            -
            -
            Returns:
            +the order they are declared.
+
+
Returns:
an array containing the constants of this enum type, in the order they are declared
+ - - - - -
    -
  • -

    valueOf

    -
    public static Index.StorageDataType valueOf​(String name)
    +
  • +
    +

    valueOf

    +
    public static Index.StorageDataType valueOf(String name)
    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
    -
    -
    Parameters:
    +
    +
    Parameters:
    name - the name of the enum constant to be returned.
    -
    Returns:
    +
    Returns:
    the enum constant with the specified name
    -
    Throws:
    -
    IllegalArgumentException - if this enum type has no constant with the specified name
    -
    NullPointerException - if the argument is null
    +
    Throws:
    +
    IllegalArgumentException - if this enum type has no constant with the specified name
    +
    NullPointerException - if the argument is null
    -
  • -
+ - - - + +
-
-
- -
- - - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/Index.html b/docs/java/com/spotify/voyager/jni/Index.html index b6ffcd38..94dda8e0 100644 --- a/docs/java/com/spotify/voyager/jni/Index.html +++ b/docs/java/com/spotify/voyager/jni/Index.html @@ -1,144 +1,89 @@ - - -Index (voyager 2.0.2 API) + +Index (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+
+ +
- +
+
- -

Class Index

+ +

Class Index

-
- -
-
    -
  • -
    +
    java.lang.Object +
    com.spotify.voyager.jni.Index
    +
    +
    +
    All Implemented Interfaces:
    -
    Closeable, AutoCloseable
    +
    Closeable, AutoCloseable

    -
    public class Index
    -extends Object
    -implements Closeable
    +
    public class Index +extends Object +implements Closeable
    A Voyager index, providing storage of floating-point vectors and the ability to efficiently search among those vectors. @@ -161,407 +106,302 @@

    Class Index

    // Serialize this index to use it again later: index.saveIndex("my_tiny_index.voy");
    -
  • -
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Nested Class Summary

        - - - - - - - - - - - - - - - - - - - - - - -
        Nested Classes 
        Modifier and TypeClassDescription
        static class Index.QueryResults +
      • +
        +

        Nested Class Summary

        +
        Nested Classes
        +
        +
        Modifier and Type
        +
        Class
        +
        Description
        +
        static class 
        + +
        A container for query results, returned by Index.
        -
      • static class Index.SpaceType + +
        static enum 
        + +
        The space, also known as distance metric, to use when searching.
        -
        static class Index.StorageDataType + +
        static enum 
        + +
        The datatype used to use when storing vectors on disk.
        -
        -
      • -
      +
+
+ -
-
    -
  • - - -

    Constructor Summary

    - - - - - - - - - - - - - - -
    Constructors 
    ConstructorDescription
    Index​(Index.SpaceType space, - int numDimensions) +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    Index(Index.SpaceType space, + int numDimensions)
    +
    Create a new Index that uses the given Index.SpaceType to store and compare numDimensions-dimensional vectors.
    -
  • Index​(Index.SpaceType space, - int numDimensions, - long indexM, - long efConstruction, - long randomSeed, - long maxElements, - Index.StorageDataType storageDataType) + +
    Index(Index.SpaceType space, + int numDimensions, + long indexM, + long efConstruction, + long randomSeed, + long maxElements, + Index.StorageDataType storageDataType)
    +
    Create a new Index that uses the given Index.SpaceType to store and compare numDimensions-dimensional vectors.
    -
    -
  • -
+
+ + -
- + + + + +
+

Methods inherited from class java.lang.Object

+clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- -
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          Index

          -
          public Index​(Index.SpaceType space,
          -             int numDimensions)
          +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            Index

            +
            public Index(Index.SpaceType space, + int numDimensions)
            Create a new Index that uses the given Index.SpaceType to store and compare numDimensions-dimensional vectors.
            -
            -
            Parameters:
            +
            +
            Parameters:
            space - the space type to use when storing and comparing vectors.
            numDimensions - the number of dimensions per vector.
            +
          • -
          - - - -
            -
          • -

            Index

            -
            public Index​(Index.SpaceType space,
            -             int numDimensions,
            -             long indexM,
            -             long efConstruction,
            -             long randomSeed,
            -             long maxElements,
            -             Index.StorageDataType storageDataType)
            +
          • +
            +

            Index

            +
            public Index(Index.SpaceType space, + int numDimensions, + long indexM, + long efConstruction, + long randomSeed, + long maxElements, + Index.StorageDataType storageDataType)
            Create a new Index that uses the given Index.SpaceType to store and compare numDimensions-dimensional vectors.
            -
            -
            Parameters:
            +
            +
            Parameters:
            space - The space type to use when storing and comparing vectors.
            numDimensions - The number of dimensions per vector.
            indexM - Controls the degree of interconnectedness between vectors. Higher values of @@ -576,349 +416,293 @@

            Index

            storageDataType - The datatype to use under-the-hood when storing vectors. Different data type options trade off precision for memory usage and query speed; see Index.StorageDataType for available data types.
            -
          • -
          +
      + -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          load

          -
          public static Index load​(String filename,
          -                         Index.SpaceType space,
          -                         int numDimensions,
          -                         Index.StorageDataType storageDataType)
          +
        • +
          +

          Method Details

          +
            +
          • +
            +

            load

            +
            public static Index load(String filename, + Index.SpaceType space, + int numDimensions, + Index.StorageDataType storageDataType)
            Load a Voyager index file and create a new Index initialized with the data in that file.
            -
            -
            Parameters:
            +
            +
            Parameters:
            filename - A filename to load.
            space - The Index.SpaceType to use when loading the index.
            numDimensions - The number of dimensions per vector.
            storageDataType - The Index.StorageDataType used by the index being loaded.
            -
            Returns:
            +
            Returns:
            An Index whose contents have been initialized with the data provided by the file.
            -
            Throws:
            -
            RuntimeException - if the index cannot be loaded from the file, or the file contains +
            Throws:
            +
            RuntimeException - if the index cannot be loaded from the file, or the file contains invalid data.
            +
          • -
          - - - -
            -
          • -

            load

            -
            public static Index load​(String filename)
            +
          • +
            +

            load

            +
            public static Index load(String filename)
            Load a Voyager index file and create a new Index initialized with the data in that file.
            -
            -
            Parameters:
            +
            +
            Parameters:
            filename - A filename to load.
            -
            Returns:
            +
            Returns:
            An Index whose contents have been initialized with the data provided by the file.
            -
            Throws:
            -
            RuntimeException - if the index cannot be loaded from the file, the file contains invalid +
            Throws:
            +
            RuntimeException - if the index cannot be loaded from the file, the file contains invalid data, or the file contains an older version of the Voyager file format that requires additional arguments to be provided.
            +
          • -
          - - - -
            -
          • -

            load

            -
            public static Index load​(InputStream inputStream,
            -                         Index.SpaceType space,
            -                         int numDimensions,
            -                         Index.StorageDataType storageDataType)
            +
          • +
            +

            load

            +
            public static Index load(InputStream inputStream, + Index.SpaceType space, + int numDimensions, + Index.StorageDataType storageDataType)
            Interpret the contents of a java.io.InputStream as the contents of a Voyager index file and create a new Index initialized with the data provided by that stream.
            -
            -
            Parameters:
            -
            inputStream - A InputStream that will provide the contents of a Voyager +
            +
            Parameters:
            +
            inputStream - A InputStream that will provide the contents of a Voyager index.
            space - The Index.SpaceType to use when loading the index.
            numDimensions - The number of dimensions per vector.
            storageDataType - The Index.StorageDataType used by the index being loaded.
            -
            Returns:
            +
            Returns:
            An Index whose contents have been initialized with the data provided by the input stream.
            -
            Throws:
            -
            RuntimeException - if the index cannot be loaded from the stream, or the stream contains +
            Throws:
            +
            RuntimeException - if the index cannot be loaded from the stream, or the stream contains invalid data.
            +
          • -
          - - - -
            -
          • -

            load

            -
            public static Index load​(InputStream inputStream)
            +
          • +
            +

            load

            +
            public static Index load(InputStream inputStream)
            Interpret the contents of a java.io.InputStream as the contents of a Voyager index file and create a new Index initialized with the data provided by that stream.
            -
            -
            Parameters:
            -
            inputStream - A InputStream that will provide the contents of a Voyager +
            +
            Parameters:
            +
            inputStream - A InputStream that will provide the contents of a Voyager index.
            -
            Returns:
            +
            Returns:
            An Index whose contents have been initialized with the data provided by the input stream.
            -
            Throws:
            -
            RuntimeException - if the index cannot be loaded from the stream, or the stream contains +
            Throws:
            +
            RuntimeException - if the index cannot be loaded from the stream, or the stream contains invalid data, or the file contains an older version of the Voyager file format that requires additional arguments to be provided.
            +
          • -
          - - - -
            -
          • -

            close

            -
            public void close()
            -           throws IOException
            +
          • +
            +

            close

            +
            public void close() + throws IOException
            Close this Index and release any memory held by it. Note that this method must be called to release the memory backing this Index; failing to do so may cause a memory leak.

            Any calls to methods after close() is called will fail, as the underlying native C++ object will have been deallocated.

            -
            -
            Specified by:
            -
            close in interface AutoCloseable
            -
            Specified by:
            -
            close in interface Closeable
            -
            Throws:
            -
            IOException - if the C++ destructor fails.
            +
            +
            Specified by:
            +
            close in interface AutoCloseable
            +
            Specified by:
            +
            close in interface Closeable
            +
            Throws:
            +
            IOException - if the C++ destructor fails.
            +
          • -
          - - - - - - - -
            -
          • -

            setEf

            -
            public void setEf​(long ef)
            +
          • +
            +

            setEf

            +
            public void setEf(long ef)
            Set the default EF ("query search depth") to use when query(float[], int) is called.
            -
            -
            Parameters:
            +
            +
            Parameters:
            ef - The new default EF value to use. This value can be overridden on a per-query basis at query time.
            +
          • -
          - - - -
            -
          • -

            getEf

            -
            public int getEf()
            +
          • +
            +

            getEf

            +
            public int getEf()
            Get the default EF ("query search depth") that will be uses when query(float[], int) is called.
            -
            -
            Returns:
            +
            +
            Returns:
            The current default EF value, used by the Index if no value is provided at query time.
            +
          • -
          - - - - - - - -
            -
          • -

            getNumDimensions

            -
            public int getNumDimensions()
            +
          • +
            +

            getNumDimensions

            +
            public int getNumDimensions()
            Get the number of dimensions used in this Index.
            -
            -
            Returns:
            +
            +
            Returns:
            The number of dimensions used by this Index, and which all vectors within this Index must have.
            +
          • -
          - - - -
            -
          • -

            setNumThreads

            -
            public void setNumThreads​(int numThreads)
            +
          • +
            +

            setNumThreads

            +
            public void setNumThreads(int numThreads)
            Set the default number of threads to use when adding multiple vectors in bulk, or when querying for multiple vectors simultaneously.
            -
            -
            Parameters:
            +
            +
            Parameters:
            numThreads - The default number of threads used for bulk-add or bulk-query methods if not overridden in each method call. Note that this affects the number of threads started for each method call - Voyager keeps no long-lived thread pool. For maximum efficiency, pass as much data as possible to each bulk-add or bulk-query method call to minimize overhead.
            +
          • -
          - - - -
            -
          • -

            getNumThreads

            -
            public int getNumThreads()
            +
          • +
            +

            getNumThreads

            +
            public int getNumThreads()
            Get the default number of threads used when adding multiple vectors in bulk oor when querying for multiple vectors simultaneously.
            -
            -
            Returns:
            +
            +
            Returns:
            The default number of threads used for bulk-add or bulk-query methods if not overridden in each method call.
            +
          • -
          - - - -
            -
          • -

            saveIndex

            -
            public void saveIndex​(String pathToIndex)
            +
          • +
            +

            saveIndex

            +
            public void saveIndex(String pathToIndex)
            Save this Index to a file at the provided filename. This file can be reloaded by using Index.load(...).
            -
            -
            Parameters:
            +
            +
            Parameters:
            pathToIndex - The output filename to write to.
            +
          • -
          - - - -
            -
          • -

            saveIndex

            -
            public void saveIndex​(OutputStream outputStream)
            +
          • +
            +

            saveIndex

            +
            public void saveIndex(OutputStream outputStream)
            Save this Index to the provided output stream. The stream will not be closed automatically - be sure to close the stream saveIndex has completed. The data written to the stream can be reloaded by using Index.load(...).
            -
            -
            Parameters:
            +
            +
            Parameters:
            outputStream - The output stream to write to. This stream will not be closed automatically.
            +
          • -
          - - - -
            -
          • -

            addItem

            -
            public void addItem​(float[] vector)
            +
          • +
            +

            addItem

            +
            public void addItem(float[] vector)
            Add an item (a vector) to this Index. The item will automatically be given an identifier equal to the return value of getNumElements().
            -
            -
            Parameters:
            +
            +
            Parameters:
            vector - The vector to add to the index.
            -
            Throws:
            -
            RuntimeException - If the provided vector does not contain exactly getNumDimensions() dimensions.
            +
            Throws:
            +
            RuntimeException - If the provided vector does not contain exactly getNumDimensions() dimensions.
            +
          • -
          - - - -
            -
          • -

            addItem

            -
            public void addItem​(float[] vector,
            -                    long id)
            +
          • +
            +

            addItem

            +
            public void addItem(float[] vector, + long id)
            Add an item (a vector) to this Index with the provided identifier.
            -
            -
            Parameters:
            +
            +
            Parameters:
            vector - The vector to add to the index.
            id - The 64-bit integer denoting the identifier of this vector.
            -
            Throws:
            -
            RuntimeException - If the provided vector does not contain exactly getNumDimensions() dimensions.
            +
            Throws:
            +
            RuntimeException - If the provided vector does not contain exactly getNumDimensions() dimensions.
            +
          • -
          - - - -
            -
          • -

            addItems

            -
            public void addItems​(float[][] vectors,
            -                     int numThreads)
            +
          • +
            +

            addItems

            +
            public void addItems(float[][] vectors, + int numThreads)
            Add multiple items (vectors) to this Index.
            -
            -
            Parameters:
            +
            +
            Parameters:
            vectors - The vectors to add to the index.
            numThreads - The number of threads to use when adding the provided vectors. If -1 (the default), the number of CPUs available on the current machine will be used.
            -
            Throws:
            -
            RuntimeException - If any of the provided vectors do not contain exactly getNumDimensions() dimensions.
            +
            Throws:
            +
            RuntimeException - If any of the provided vectors do not contain exactly getNumDimensions() dimensions.
            +
          • -
          - - - -
            -
          • -

            addItems

            -
            public void addItems​(float[][] vectors,
            -                     long[] ids,
            -                     int numThreads)
            +
          • +
            +

            addItems

            +
            public void addItems(float[][] vectors, + long[] ids, + int numThreads)
            Add multiple items (vectors) to this Index.
            -
            -
            Parameters:
            +
            +
            Parameters:
            vectors - The vectors to add to the index.
            ids - The 64-bit identifiers that correspond with each of the provided vectors.
            numThreads - The number of threads to use when adding the provided vectors. If -1 (the @@ -926,149 +710,128 @@

            addItems

            causes a temporary C++ thread pool to be used. Instead of calling addItems(float[][],int) in a tight loop, consider passing more data to each addItems(float[][],int) call instead to reduce overhead.
            -
            Throws:
            -
            RuntimeException - If any of the provided vectors do not contain exactly getNumDimensions() dimensions.
            -
            RuntimeException - If the list of IDs does not have the same length as the list of +
            Throws:
            +
            RuntimeException - If any of the provided vectors do not contain exactly getNumDimensions() dimensions.
            +
            RuntimeException - If the list of IDs does not have the same length as the list of provided vectors.
            +
          • -
          - - - -
            -
          • -

            getVector

            -
            public float[] getVector​(long id)
            +
          • +
            +

            getVector

            +
            public float[] getVector(long id)
            Get the vector for the provided identifier.
            -
            -
            Parameters:
            +
            +
            Parameters:
            id - The identifier whose vector will be fetched.
            -
            Returns:
            +
            Returns:
            A float array representing the values of the vector.
            -
            Throws:
            -
            RuntimeException - If the provided identifier is not present in the Index.
            +
            Throws:
            +
            RuntimeException - If the provided identifier is not present in the Index.
            +
          • -
          - - - -
            -
          • -

            getVectors

            -
            public float[][] getVectors​(long[] ids)
            +
          • +
            +

            getVectors

            +
            public float[][] getVectors(long[] ids)
            Get the vectors for a provided array of identifiers.
            -
            -
            Parameters:
            +
            +
            Parameters:
            ids - The identifiers whose vector will be fetched.
            -
            Returns:
            +
            Returns:
            A nested float array representing the values of the vectors corresponding with each ID.
            -
            Throws:
            -
            RuntimeException - If any of the provided identifiers are not present in the Index.
            +
            Throws:
            +
            RuntimeException - If any of the provided identifiers are not present in the Index.
            +
          • -
          - - - -
            -
          • -

            getIDs

            -
            public long[] getIDs()
            +
          • +
            +

            getIDs

            +
            public long[] getIDs()
            Get the list of identifiers currently stored by this index.
            -
            -
            Returns:
            +
            +
            Returns:
            a long array of identifiers.
            +
          • -
          - - - -
            -
          • -

            query

            -
            public Index.QueryResults query​(float[] queryVector,
            -                                int k)
            +
          • +
            +

            query

            +
            public Index.QueryResults query(float[] queryVector, + int k)
            Query this Index for approximate nearest neighbors of a single query vector.
            -
            -
            Parameters:
            +
            +
            Parameters:
            queryVector - A query vector to use for searching.
            k - The number of nearest neighbors to return.
            -
            Returns:
            +
            Returns:
            A Index.QueryResults object, containing the neighbors found that are (approximately) nearest to the query vector.
            -
            Throws:
            -
            RuntimeException - if fewer than k results can be found in the index.
            +
            Throws:
            +
            RuntimeException - if fewer than k results can be found in the index.
            +
          • -
          - - - -
            -
          • -

            query

            -
            public Index.QueryResults[] query​(float[][] queryVectors,
            -                                  int k,
            -                                  int numThreads)
            +
          • +
            +

            query

            +
            public Index.QueryResults[] query(float[][] queryVectors, + int k, + int numThreads)
            Query this Index for approximate nearest neighbors of multiple query vectors.
            -
            -
            Parameters:
            +
            +
            Parameters:
            queryVectors - The query vectors to use for searching.
            k - The number of nearest neighbors to return for each query vector
            numThreads - The number of threads to use when searching. If -1, all available CPU cores will be used. Note that passing a number of threads other than 1 will cause a temporary C++ thread pool to be used. Instead of calling query(float[],int) in a tight loop, consider passing more data to each call instead to reduce overhead.
            -
            Returns:
            +
            Returns:
            An array of Index.QueryResults objects, each containing the neighbors found that are (approximately) nearest to the corresponding query vector. The returned list of Index.QueryResults will contain the same number of elements as queryVectors.
            -
            Throws:
            -
            RuntimeException - if fewer than k results can be found in the index for one or +
            Throws:
            +
            RuntimeException - if fewer than k results can be found in the index for one or more queries.
            +
          • -
          - - - -
            -
          • -

            query

            -
            public Index.QueryResults query​(float[] queryVector,
            -                                int k,
            -                                long queryEf)
            +
          • +
            +

            query

            +
            public Index.QueryResults query(float[] queryVector, + int k, + long queryEf)
            Query this Index for approximate nearest neighbors of a single query vector.
            -
            -
            Parameters:
            +
            +
            Parameters:
            queryVector - A query vector to use for searching.
            k - The number of nearest neighbors to return.
            queryEf - The per-query "ef" value to use. Larger values produce more accurate results at the expense of query time.
            -
            Returns:
            +
            Returns:
            A Index.QueryResults object, containing the neighbors found that are (approximately) nearest to the query vector.
            -
            Throws:
            -
            RuntimeException - if fewer than k results can be found in the index.
            +
            Throws:
            +
            RuntimeException - if fewer than k results can be found in the index.
            +
          • -
          - - - -
            -
          • -

            query

            -
            public Index.QueryResults[] query​(float[][] queryVectors,
            -                                  int k,
            -                                  int numThreads,
            -                                  long queryEf)
            +
          • +
            +

            query

            +
            public Index.QueryResults[] query(float[][] queryVectors, + int k, + int numThreads, + long queryEf)
            Query this Index for approximate nearest neighbors of multiple query vectors.
            -
            -
            Parameters:
            +
            +
            Parameters:
            queryVectors - The query vectors to use for searching.
            k - The number of nearest neighbors to return for each query vector
            numThreads - The number of threads to use when searching. If -1, all available CPU cores @@ -1077,194 +840,115 @@

            query

            more data to each call instead to reduce overhead.
            queryEf - The per-query "ef" value to use. Larger values produce more accurate results at the expense of query time.
            -
            Returns:
            +
            Returns:
            An array of Index.QueryResults objects, each containing the neighbors found that are (approximately) nearest to the corresponding query vector. The returned list of Index.QueryResults will contain the same number of elements as queryVectors.
            -
            Throws:
            -
            RuntimeException - if fewer than k results can be found in the index for one or +
            Throws:
            +
            RuntimeException - if fewer than k results can be found in the index for one or more queries.
            +
          • -
          - - - -
            -
          • -

            markDeleted

            -
            public void markDeleted​(long label)
            +
          • +
            +

            markDeleted

            +
            public void markDeleted(long label)
            Mark an element of the index as deleted. Deleted elements will be skipped when querying, but will still be present in the index.
            -
            -
            Parameters:
            +
            +
            Parameters:
            label - The ID of the element to mark as deleted.
            -
            Throws:
            -
            RuntimeException - If the provided identifier is not present in the Index.
            +
            Throws:
            +
            RuntimeException - If the provided identifier is not present in the Index.
            +
          • -
          - - - -
            -
          • -

            unmarkDeleted

            -
            public void unmarkDeleted​(long label)
            +
          • +
            +

            unmarkDeleted

            +
            public void unmarkDeleted(long label)
            Un-mark an element of the index as deleted, making it available again.
            -
            -
            Parameters:
            +
            +
            Parameters:
            label - The ID of the element to unmark as deleted.
            -
            Throws:
            -
            RuntimeException - If the provided identifier is not present in the Index.
            +
            Throws:
            +
            RuntimeException - If the provided identifier is not present in the Index.
            +
          • -
          - - - -
            -
          • -

            resizeIndex

            -
            public void resizeIndex​(long newSize)
            +
          • +
            +

            resizeIndex

            +
            public void resizeIndex(long newSize)
            Change the maximum number of elements currently storable by this Index. This operation reallocates the memory used by the index and can be quite slow, so it may be useful to set the maximum number of elements in advance if that number is known.
            -
            -
            Parameters:
            +
            +
            Parameters:
            newSize - The new number of maximum elements to resize this Index to.
            +
          • -
          - - - -
            -
          • -

            getMaxElements

            -
            public long getMaxElements()
            +
          • +
            +

            getMaxElements

            +
            public long getMaxElements()
            Get the maximum number of elements currently storable by this Index. If more elements are added than getMaxElements(), the index will be automatically (but slowly) resized.
            -
            -
            Returns:
            +
            +
            Returns:
            The number of elements (vectors) that are currently storable in this Index.
            +
          • -
          - - - -
            -
          • -

            getNumElements

            -
            public long getNumElements()
            +
          • +
            +

            getNumElements

            +
            public long getNumElements()
            Get the number of elements currently in this Index.
            -
            -
            Returns:
            +
            +
            Returns:
            The number of elements (vectors) in this Index. This count includes any deleted elements.
            +
          • -
          - - - -
            -
          • -

            getEfConstruction

            -
            public long getEfConstruction()
            +
          • +
            +

            getEfConstruction

            +
            public long getEfConstruction()
            Get the EF Construction value used when adding new elements to this Index.
            -
            -
            Returns:
            +
            +
            Returns:
            The current EF Construction value (i.e.: the number of neighbors to search for when adding new elements).
            +
          • -
          - - - -
            -
          • -

            getM

            -
            public long getM()
            +
          • +
            +

            getM

            +
            public long getM()
            Get the M value used when adding new elements to this Index.
            -
            -
            Returns:
            +
            +
            Returns:
            The current M value (i.e.: the number of links between adjacent vectors to create when adding elements).
            -
          • -
          +
    -
- - + +
-
-
- -
- - - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/StringIndex.QueryResults.html b/docs/java/com/spotify/voyager/jni/StringIndex.QueryResults.html index ecb59a12..b28fa9ee 100644 --- a/docs/java/com/spotify/voyager/jni/StringIndex.QueryResults.html +++ b/docs/java/com/spotify/voyager/jni/StringIndex.QueryResults.html @@ -1,388 +1,219 @@ - - -StringIndex.QueryResults (voyager 2.0.2 API) + +StringIndex.QueryResults (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+
+ +
- +
+
- -

Class StringIndex.QueryResults

+ +

Class StringIndex.QueryResults

-
- -
-
    -
  • -
    +
    java.lang.Object +
    com.spotify.voyager.jni.StringIndex.QueryResults
    +
    +
    +
    Enclosing class:
    StringIndex

    -
    public static class StringIndex.QueryResults
    -extends Object
    +
    public static class StringIndex.QueryResults +extends Object
    A wrapper class for nearest neighbor query results.
    -
  • -
-
-
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          QueryResults

          -
          public QueryResults​(String[] names,
          -                    float[] distances)
          -
        • -
        +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          QueryResults

          +
          public QueryResults(String[] names, + float[] distances)
          +
        +
      • -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getNames

            -
            public String[] getNames()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getNames

              +
              public String[] getNames()
              +
            • -
            - - - -
              -
            • -

              getDistances

              -
              public float[] getDistances()
              +
            • +
              +

              getDistances

              +
              public float[] getDistances()
              +
            • -
            - - - -
              -
            • -

              getName

              -
              public String getName​(int index)
              +
            • +
              +

              getName

              +
              public String getName(int index)
              +
            • -
            - - - -
              -
            • -

              getDistance

              -
              public float getDistance​(int index)
              +
            • +
              +

              getDistance

              +
              public float getDistance(int index)
              +
            • -
            - - - -
              -
            • -

              getNumResults

              -
              public int getNumResults()
              +
            • +
              +

              getNumResults

              +
              public int getNumResults()
              +
            • -
            - - - - +
      -
-
-
+ +
-
-
- -
- - - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/StringIndex.html b/docs/java/com/spotify/voyager/jni/StringIndex.html index cf4753c9..1f311a23 100644 --- a/docs/java/com/spotify/voyager/jni/StringIndex.html +++ b/docs/java/com/spotify/voyager/jni/StringIndex.html @@ -1,378 +1,262 @@ - - -StringIndex (voyager 2.0.2 API) + +StringIndex (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ - +
+
- -

Class StringIndex

+ +

Class StringIndex

-
- -
-
    -
  • -
    +
    java.lang.Object +
    com.spotify.voyager.jni.StringIndex
    +
    +
    +
    All Implemented Interfaces:
    -
    Closeable, AutoCloseable
    +
    Closeable, AutoCloseable

    -
    public class StringIndex
    -extends Object
    -implements Closeable
    +
    public class StringIndex +extends Object +implements Closeable
    Wrapper around com.spotify.voyager.jni.Index with a simplified interface which maps the index ID to a provided String.

    StringIndex can only accommodate up to 2^31 - 1 (2.1B) items, despite typical Voyager indices allowing up to 2^63 - 1 (9e18) items.

    -
  • -
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Nested Class Summary

        - - - - - - - - - - - - -
        Nested Classes 
        Modifier and TypeClassDescription
        static class StringIndex.QueryResults +
      • +
        +

        Nested Class Summary

        +
        Nested Classes
        +
        +
        Modifier and Type
        +
        Class
        +
        Description
        +
        static class 
        + +
        A wrapper class for nearest neighbor query results.
        -
      • -
      • -
      +
+
+ -
-
    -
  • - - -

    Constructor Summary

    - - - - - - - - - - - - - - -
    Constructors 
    ConstructorDescription
    StringIndex​(Index.SpaceType spaceType, - int numDimensions) +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    +
    StringIndex(Index.SpaceType spaceType, + int numDimensions)
    +
    Instantiate a new empty index with the specified space type and dimensionality
    -
  • StringIndex​(Index.SpaceType spaceType, - int numDimensions, - long indexM, - long efConstruction, - long randomSeed, - long maxElements, - Index.StorageDataType storageDataType) + +
    StringIndex(Index.SpaceType spaceType, + int numDimensions, + long indexM, + long efConstruction, + long randomSeed, + long maxElements, + Index.StorageDataType storageDataType)
    +
    Instantiate an empty index with the specified index parameters
    -
    -
  • -
+
+
+ -
- + +
void
+
saveIndex(String outputDirectory, + String indexFilename, + String nameListFilename)
+
 
+ + + +
+

Methods inherited from class java.lang.Object

+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- -
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          StringIndex

          -
          public StringIndex​(Index.SpaceType spaceType,
          -                   int numDimensions)
          +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            StringIndex

            +
            public StringIndex(Index.SpaceType spaceType, + int numDimensions)
            Instantiate a new empty index with the specified space type and dimensionality
            -
            -
            Parameters:
            +
            +
            Parameters:
            spaceType - Type of space and distance calculation used when determining distance between embeddings in the index, @see com.spotify.voyager.jni.Index.SpaceType
            numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index
            +
          • -
          - - - -
            -
          • -

            StringIndex

            -
            public StringIndex​(Index.SpaceType spaceType,
            -                   int numDimensions,
            -                   long indexM,
            -                   long efConstruction,
            -                   long randomSeed,
            -                   long maxElements,
            -                   Index.StorageDataType storageDataType)
            +
          • +
            +

            StringIndex

            +
            public StringIndex(Index.SpaceType spaceType, + int numDimensions, + long indexM, + long efConstruction, + long randomSeed, + long maxElements, + Index.StorageDataType storageDataType)
            Instantiate an empty index with the specified index parameters
            -
            -
            Parameters:
            +
            +
            Parameters:
            spaceType - Type of space and distance calculation used when determining distance between embeddings in the index, @see com.spotify.voyager.jni.Index.SpaceType
            numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index
            @@ -385,207 +269,180 @@

            StringIndex

            storageDataType - Type to store the embedding values as, @see com.spotify.voyager.jni.StorageDataType
            -
          • -
          +
      + -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          load

          -
          public static StringIndex load​(String indexFilename,
          -                               String nameListFilename,
          -                               Index.SpaceType spaceType,
          -                               int numDimensions,
          -                               Index.StorageDataType storageDataType)
          +
        • +
          +

          Method Details

          +
            +
          • +
            +

            load

            +
            public static StringIndex load(String indexFilename, + String nameListFilename, + Index.SpaceType spaceType, + int numDimensions, + Index.StorageDataType storageDataType)
            Load a previously constructed index from the provided file location. It is important that the dimensions, space type, and storage data type provided are the same that the index was constructed with.
            -
            -
            Parameters:
            +
            +
            Parameters:
            indexFilename - Filename of the underlying HNSW index
            nameListFilename - Filename of the JSON encoded names list
            spaceType -
            numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index
            storageDataType -
            -
            Returns:
            +
            Returns:
            reference to the loaded StringIndex
            -
            See Also:
            -
            Index.SpaceType, -Index.StorageDataType
            +
            See Also:
            +
            + +
            +
          • -
          - - - -
            -
          • -

            load

            -
            public static StringIndex load​(InputStream indexInputStream,
            -                               InputStream nameListInputStream,
            -                               Index.SpaceType spaceType,
            -                               int numDimensions,
            -                               Index.StorageDataType storageDataType)
            +
          • +
            +

            load

            +
            public static StringIndex load(InputStream indexInputStream, + InputStream nameListInputStream, + Index.SpaceType spaceType, + int numDimensions, + Index.StorageDataType storageDataType)
            Load a previously constructed index from the provided input streams. It is important that the dimensions, space type, and storage data type provided are the same that the index was constructed with.
            -
            -
            Parameters:
            +
            +
            Parameters:
            indexInputStream - input stream pointing to the underlying HNSW index
            nameListInputStream - input stream pointing to the JSON encoded names list
            spaceType -
            numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index
            storageDataType -
            -
            Returns:
            +
            Returns:
            reference to the loaded StringIndex
            -
            See Also:
            -
            Index.SpaceType, -Index.StorageDataType
            +
            See Also:
            +
            + +
            +
          • -
          - - - -
            -
          • -

            load

            -
            public static StringIndex load​(String indexFilename,
            -                               String nameListFilename)
            +
          • +
            +

            load

            +
            public static StringIndex load(String indexFilename, + String nameListFilename)
            Load a previously constructed index from the provided file location. The space type, dimensions, and storage data type are read from the file metadata.
            -
            -
            Parameters:
            +
            +
            Parameters:
            indexFilename - Filename of the underlying HNSW index
            nameListFilename - Filename of the JSON encoded names list
            -
            Returns:
            +
            Returns:
            reference to the loaded StringIndex
            +
          • -
          - - - -
            -
          • -

            load

            -
            public static StringIndex load​(InputStream indexInputStream,
            -                               InputStream nameListInputStream)
            +
          • +
            +

            load

            +
            public static StringIndex load(InputStream indexInputStream, + InputStream nameListInputStream)
            Load a previously constructed index from the provided input stream. The space type, dimensions, and storage data type are read from the file metadata.
            -
            -
            Parameters:
            +
            +
            Parameters:
            indexInputStream - input stream pointing to the underlying HNSW index
            nameListInputStream - input stream pointing to the JSON encoded names list
            -
            Returns:
            +
            Returns:
            reference to the loaded StringIndex
            +
          • -
          - - - -
            -
          • -

            saveIndex

            -
            public void saveIndex​(String outputDirectory)
            -               throws IOException
            +
          • +
            +

            saveIndex

            +
            public void saveIndex(String outputDirectory) + throws IOException
            Save the underlying index and JSON encoded name list to the provided output directory
            -
            -
            Parameters:
            +
            +
            Parameters:
            outputDirectory - directory to output files to
            -
            Throws:
            -
            IOException - when there is an error writing to JSON or saving to disk
            +
            Throws:
            +
            IOException - when there is an error writing to JSON or saving to disk
            +
          • -
          - - - - - - - -
            -
          • -

            saveIndex

            -
            public void saveIndex​(OutputStream indexOutputStream,
            -                      OutputStream namesListOutputStream)
            -               throws IOException
            +
          • +
            +

            saveIndex

            +
            public void saveIndex(OutputStream indexOutputStream, + OutputStream namesListOutputStream) + throws IOException
            Save the underlying HNSW index and JSON encoded names list to the provided output streams
            -
            -
            Parameters:
            +
            +
            Parameters:
            indexOutputStream - output stream pointing to the location to save the HNSW index
            namesListOutputStream - output stream pointing to the location to save the JSON names list
            -
            Throws:
            -
            IOException - when there is an error writing to JSON or the output streams
            +
            Throws:
            +
            IOException - when there is an error writing to JSON or the output streams
            +
          • -
          - - - -
            -
          • -

            addItem

            -
            public void addItem​(String name,
            -                    float[] vector)
            +
          • +
            +

            addItem

            +
            public void addItem(String name, + float[] vector)
            +
          • -
          - - - -
            -
          • -

            addItem

            -
            public void addItem​(String name,
            -                    List<Float> vector)
            +
          • +
            +

            addItem

            +
            public void addItem(String name, + List<Float> vector)
            +
          • -
          - - - - - - - -
            -
          • -

            query

            -
            public StringIndex.QueryResults query​(float[] queryVector,
            -                                      int numNeighbors,
            -                                      int ef)
            +
          • +
            +

            query

            +
            public StringIndex.QueryResults query(float[] queryVector, + int numNeighbors, + int ef)
            Find the nearest neighbors of the provided embedding.
            -
            -
            Parameters:
            +
            +
            Parameters:
            queryVector - The vector to center the search around.
            numNeighbors - The number of neighbors to return. The number of results returned may be smaller than this value if the index does not contain enough items.
            @@ -593,100 +450,39 @@

            query

            Increasing this value can improve recall (up to a point) at the cost of increased search latency. The minimum value of this parameter is the requested number of neighbors, and the maximum value is the number of items in the index. -
            Returns:
            +
            Returns:
            a QueryResults object, containing the names of the neighbors and each neighbor's distance from the query vector, sorted in ascending order of distance
            +
          • -
          - - - - +
    -
- - + +
-
-
- -
- - - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/class-use/Index.QueryResults.html b/docs/java/com/spotify/voyager/jni/class-use/Index.QueryResults.html index 39135421..bd64d03b 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/Index.QueryResults.html +++ b/docs/java/com/spotify/voyager/jni/class-use/Index.QueryResults.html @@ -1,226 +1,114 @@ - - -Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.2 API) + +Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
-

Uses of Class
com.spotify.voyager.jni.Index.QueryResults

+

Uses of Class
com.spotify.voyager.jni.Index.QueryResults

-
-
+
- - -
+ - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/class-use/Index.SpaceType.html b/docs/java/com/spotify/voyager/jni/class-use/Index.SpaceType.html index 2ba232fd..83a120fc 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/Index.SpaceType.html +++ b/docs/java/com/spotify/voyager/jni/class-use/Index.SpaceType.html @@ -1,315 +1,186 @@ - - -Uses of Class com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.2 API) + +Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
-

Uses of Class
com.spotify.voyager.jni.Index.SpaceType

+

Uses of Enum
com.spotify.voyager.jni.Index.SpaceType

-
-
+
- - -
+ - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/class-use/Index.StorageDataType.html b/docs/java/com/spotify/voyager/jni/class-use/Index.StorageDataType.html index b495e421..d00adb08 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/Index.StorageDataType.html +++ b/docs/java/com/spotify/voyager/jni/class-use/Index.StorageDataType.html @@ -1,293 +1,168 @@ - - -Uses of Class com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.2 API) + +Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
-

Uses of Class
com.spotify.voyager.jni.Index.StorageDataType

+

Uses of Enum
com.spotify.voyager.jni.Index.StorageDataType

-
-
+
- - -
+ - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/class-use/Index.html b/docs/java/com/spotify/voyager/jni/class-use/Index.html index b0d432f3..97cab75f 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/Index.html +++ b/docs/java/com/spotify/voyager/jni/class-use/Index.html @@ -1,228 +1,116 @@ - - -Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.2 API) + +Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
-

Uses of Class
com.spotify.voyager.jni.Index

+

Uses of Class
com.spotify.voyager.jni.Index

-
-
+
- - -
+ - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.QueryResults.html b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.QueryResults.html index c7a3fcb3..389d8018 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.QueryResults.html +++ b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.QueryResults.html @@ -1,199 +1,93 @@ - - -Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.2 API) + +Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
-

Uses of Class
com.spotify.voyager.jni.StringIndex.QueryResults

+

Uses of Class
com.spotify.voyager.jni.StringIndex.QueryResults

-
-
+
- - -
+ - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html index 662fe29c..0bb3341f 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html +++ b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html @@ -1,228 +1,116 @@ - - -Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.2 API) + +Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
-

Uses of Class
com.spotify.voyager.jni.StringIndex

+

Uses of Class
com.spotify.voyager.jni.StringIndex

-
-
+
- - -
+ - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/package-summary.html b/docs/java/com/spotify/voyager/jni/package-summary.html index ac831a0d..e8fea423 100644 --- a/docs/java/com/spotify/voyager/jni/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/package-summary.html @@ -1,217 +1,136 @@ - - -com.spotify.voyager.jni (voyager 2.0.2 API) + +com.spotify.voyager.jni (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
-

Package com.spotify.voyager.jni

+

Package com.spotify.voyager.jni

-
-
- - +
+
package com.spotify.voyager.jni
+
Java Native Interface (JNI) bindings to expose functionality from Voyager's C++ code into Java.
-
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    Index +
    +
      +
    • + +
    • +
    • +
      +
      +
      +
      +
      Class
      +
      Description
      + +
      A Voyager index, providing storage of floating-point vectors and the ability to efficiently search among those vectors.
      -
    Index.QueryResults + + +
    A container for query results, returned by Index.
    -
    StringIndex + + +
    +
    The space, also known as distance metric, to use when searching.
    +
    + +
    +
    The datatype used to use when storing vectors on disk.
    +
    + +
    Wrapper around com.spotify.voyager.jni.Index with a simplified interface which maps the index ID to a provided String.
    -
    StringIndex.QueryResults + + +
    A wrapper class for nearest neighbor query results.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - -
    Enum Summary 
    EnumDescription
    Index.SpaceType -
    The space, also known as distance metric, to use when searching.
    -
    Index.StorageDataType -
    The datatype used to use when storing vectors on disk.
    -
    +
+
+
+ - + - - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/package-tree.html b/docs/java/com/spotify/voyager/jni/package-tree.html index a4c770d4..400c1cda 100644 --- a/docs/java/com/spotify/voyager/jni/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/package-tree.html @@ -1,182 +1,94 @@ - - -com.spotify.voyager.jni Class Hierarchy (voyager 2.0.2 API) + +com.spotify.voyager.jni Class Hierarchy (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +

Hierarchy For Package com.spotify.voyager.jni

-Package Hierarchies: +Package Hierarchies:
-
-
+

Class Hierarchy

-
+

Enum Hierarchy

-
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/package-use.html b/docs/java/com/spotify/voyager/jni/package-use.html index a8c6e149..6fd42b41 100644 --- a/docs/java/com/spotify/voyager/jni/package-use.html +++ b/docs/java/com/spotify/voyager/jni/package-use.html @@ -1,220 +1,110 @@ - - -Uses of Package com.spotify.voyager.jni (voyager 2.0.2 API) + +Uses of Package com.spotify.voyager.jni (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +

Uses of Package
com.spotify.voyager.jni

-
-
+
+ -
+
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html index 777a6d58..0a0d318f 100644 --- a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html +++ b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html @@ -1,307 +1,163 @@ - - -JniLibExtractor (voyager 2.0.2 API) + +JniLibExtractor (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ - +
+
- -

Class JniLibExtractor

+ +

Class JniLibExtractor

-
- -
-
    -
  • -
    -
    public class JniLibExtractor
    -extends Object
    -
  • -
+
java.lang.Object +
com.spotify.voyager.jni.utils.JniLibExtractor
-
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          JniLibExtractor

          -
          public JniLibExtractor()
          -
        • -
        +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          JniLibExtractor

          +
          public JniLibExtractor()
          +
        - -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            extractBinaries

            -
            public static String extractBinaries​(String libname)
          • -
          + +
        • +
          +

          Method Details

          +
            +
          • +
            +

            extractBinaries

            +
            public static String extractBinaries(String libname)
            +
        -
-
-
+ +
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html index bc91109b..3a7bafd0 100644 --- a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html +++ b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html @@ -1,330 +1,181 @@ - - -TinyJson (voyager 2.0.2 API) + +TinyJson (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ - +
+
- -

Class TinyJson

+ +

Class TinyJson

-
- -
-
    -
  • +
    java.lang.Object +
    com.spotify.voyager.jni.utils.TinyJson
    +
    +

    -
    public class TinyJson
    -extends Object
    +
    public class TinyJson +extends Object
    A dependency-free, super tiny JSON serde class that only supports reading and writing lists of strings.
    -
  • -
-
-
-
-
-
-
-
+ +
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/utils/class-use/JniLibExtractor.html b/docs/java/com/spotify/voyager/jni/utils/class-use/JniLibExtractor.html index 2b3d08bd..a3d82dbe 100644 --- a/docs/java/com/spotify/voyager/jni/utils/class-use/JniLibExtractor.html +++ b/docs/java/com/spotify/voyager/jni/utils/class-use/JniLibExtractor.html @@ -1,149 +1,62 @@ - - -Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.2 API) + +Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
-

Uses of Class
com.spotify.voyager.jni.utils.JniLibExtractor

+

Uses of Class
com.spotify.voyager.jni.utils.JniLibExtractor

-
No usage of com.spotify.voyager.jni.utils.JniLibExtractor
-
+No usage of com.spotify.voyager.jni.utils.JniLibExtractor
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/utils/class-use/TinyJson.html b/docs/java/com/spotify/voyager/jni/utils/class-use/TinyJson.html index b7b3848f..f8708b1c 100644 --- a/docs/java/com/spotify/voyager/jni/utils/class-use/TinyJson.html +++ b/docs/java/com/spotify/voyager/jni/utils/class-use/TinyJson.html @@ -1,149 +1,62 @@ - - -Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.2 API) + +Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
-

Uses of Class
com.spotify.voyager.jni.utils.TinyJson

+

Uses of Class
com.spotify.voyager.jni.utils.TinyJson

-
No usage of com.spotify.voyager.jni.utils.TinyJson
-
+No usage of com.spotify.voyager.jni.utils.TinyJson
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/utils/package-summary.html b/docs/java/com/spotify/voyager/jni/utils/package-summary.html index 94a71419..1902c967 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-summary.html @@ -1,174 +1,105 @@ - - -com.spotify.voyager.jni.utils (voyager 2.0.2 API) + +com.spotify.voyager.jni.utils (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+
+ +
+
-

Package com.spotify.voyager.jni.utils

+

Package com.spotify.voyager.jni.utils

+
+
+
package com.spotify.voyager.jni.utils
+
+
    +
  • + +
-
+
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/utils/package-tree.html b/docs/java/com/spotify/voyager/jni/utils/package-tree.html index 9f26b212..f1ef455a 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-tree.html @@ -1,165 +1,77 @@ - - -com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.2 API) + +com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +

Hierarchy For Package com.spotify.voyager.jni.utils

-Package Hierarchies: +Package Hierarchies:
-
-
+

Class Hierarchy

-
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/jni/utils/package-use.html b/docs/java/com/spotify/voyager/jni/utils/package-use.html index 1c089783..be4daedf 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-use.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-use.html @@ -1,149 +1,62 @@ - - -Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.2 API) + +Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +

Uses of Package
com.spotify.voyager.jni.utils

-
No usage of com.spotify.voyager.jni.utils
-
+No usage of com.spotify.voyager.jni.utils
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/package-summary.html b/docs/java/com/spotify/voyager/package-summary.html index 6ed69d00..4db475e4 100644 --- a/docs/java/com/spotify/voyager/package-summary.html +++ b/docs/java/com/spotify/voyager/package-summary.html @@ -1,105 +1,67 @@ - - -com.spotify.voyager (voyager 2.0.2 API) + +com.spotify.voyager (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+
+ +
+
-

Package com.spotify.voyager

+

Package com.spotify.voyager

-
-
- - +
+
package com.spotify.voyager
+
Voyager is a Java and Python library that provides approximate nearest-neighbor search of vector data. For most use cases, Index will be the primary interface to Voyager's functionality. @@ -125,54 +87,29 @@

Package com.spotify.voyager

index.saveIndex("my_tiny_index.voy");
+
+
    +
  • + +
  • +
+
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/package-tree.html b/docs/java/com/spotify/voyager/package-tree.html index b658c470..4b97bc8c 100644 --- a/docs/java/com/spotify/voyager/package-tree.html +++ b/docs/java/com/spotify/voyager/package-tree.html @@ -1,152 +1,66 @@ - - -com.spotify.voyager Class Hierarchy (voyager 2.0.2 API) + +com.spotify.voyager Class Hierarchy (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +

Hierarchy For Package com.spotify.voyager

-Package Hierarchies: +Package Hierarchies:
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/com/spotify/voyager/package-use.html b/docs/java/com/spotify/voyager/package-use.html index b672c230..f2f174e9 100644 --- a/docs/java/com/spotify/voyager/package-use.html +++ b/docs/java/com/spotify/voyager/package-use.html @@ -1,149 +1,62 @@ - - -Uses of Package com.spotify.voyager (voyager 2.0.2 API) + +Uses of Package com.spotify.voyager (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +

Uses of Package
com.spotify.voyager

-
No usage of com.spotify.voyager
-
+No usage of com.spotify.voyager
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/help-doc.html b/docs/java/help-doc.html index a0f372ba..24648553 100644 --- a/docs/java/help-doc.html +++ b/docs/java/help-doc.html @@ -1,115 +1,108 @@ - - -API Help (voyager 2.0.2 API) + +API Help (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+
+ +
+
-
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+

JavaDoc Help

+ +
+
+

Navigation

+Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces +
-
-
    -
  • -
    -

    Overview

    +
    +
    +

    Kinds of Pages

    +The following sections describe the different kinds of pages in this collection. +
    +

    Overview

    The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

    -
  • -
  • -
    -

    Package

    -

    Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:

    -
      +
      +

      Package

      +

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

      +
      • Interfaces
      • Classes
      • Enums
      • @@ -118,12 +111,10 @@

        Package

      • Annotation Types
      - -
    • -
      -

      Class or Interface

      -

      Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

      -
        +
        +

        Class or Interface

        +

        Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

        +
        • Class Inheritance Diagram
        • Direct Subclasses
        • All Known Subinterfaces
        • @@ -132,150 +123,64 @@

          Class or Interface

        • Class or Interface Description

        -
          +
          • Nested Class Summary
          • +
          • Enum Constant Summary
          • Field Summary
          • Property Summary
          • Constructor Summary
          • Method Summary
          • -
          -
          -
            -
          • Field Detail
          • -
          • Property Detail
          • -
          • Constructor Detail
          • -
          • Method Detail
          • -
          -

          Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

          -
        - -
      • -
        -

        Annotation Type

        -

        Each annotation type has its own separate page with the following sections:

        -
          -
        • Annotation Type Declaration
        • -
        • Annotation Type Description
        • Required Element Summary
        • Optional Element Summary
        • -
        • Element Detail
        -
        -
      • -
      • -
        -

        Enum

        -

        Each enum has its own separate page with the following sections:

        -
          -
        • Enum Declaration
        • -
        • Enum Description
        • -
        • Enum Constant Summary
        • -
        • Enum Constant Detail
        • +
          +
            +
          • Enum Constant Details
          • +
          • Field Details
          • +
          • Property Details
          • +
          • Constructor Details
          • +
          • Method Details
          • +
          • Element Details
          +

          Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

          +

          The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

        -
      • -
      • -
        -

        Use

        -

        Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its "Use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

        +
        +

        Other Files

        +

        Packages and modules may contain pages with additional information related to the declarations nearby.

        -
      • -
      • -
        -

        Tree (Class Hierarchy)

        +
        +

        Use

        +

        Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the USE link in the navigation bar.

        +
        +
        +

        Tree (Class Hierarchy)

        There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

        -
          -
        • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
        • -
        • When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
        • +
            +
          • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
          • +
          • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
        -
      • -
      • -
        -

        Deprecated API

        -

        The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

        -
        -
      • -
      • -
        -

        Index

        -

        The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.

        -
        -
      • -
      • -
        -

        All Classes

        -

        The All Classes link shows all classes and interfaces except non-static nested types.

        -
        -
      • -
      • -
        -

        Serialized Form

        -

        Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

        +
        +

        All Packages

        +

        The All Packages page contains an alphabetic index of all packages contained in the documentation.

        -
      • -
      • -
        -

        Constant Field Values

        -

        The Constant Field Values page lists the static final fields and their values.

        +
        +

        All Classes and Interfaces

        +

        The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

        -
      • -
      • -
        -

        Search

        -

        You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".

        +
        +

        Index

        +

        The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

        -
      • -
      +

-This help file applies to API documentation generated by the standard doclet.
-
+This help file applies to API documentation generated by the standard doclet.
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/index-all.html b/docs/java/index-all.html index 5190f72f..ef2d63de 100644 --- a/docs/java/index-all.html +++ b/docs/java/index-all.html @@ -1,136 +1,89 @@ - - -Index (voyager 2.0.2 API) + +Index (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
-
A C D E F G I J L M Q R S T U V W 
All Classes All Packages - - -

A

-
-
addItem(float[]) - Method in class com.spotify.voyager.jni.Index
+
+

Index

+
+A C D E F G I J L M Q R S T U V W 
All Classes and Interfaces|All Packages +

A

+
+
addItem(float[]) - Method in class com.spotify.voyager.jni.Index
Add an item (a vector) to this Index.
-
addItem(float[], long) - Method in class com.spotify.voyager.jni.Index
+
addItem(float[], long) - Method in class com.spotify.voyager.jni.Index
Add an item (a vector) to this Index with the provided identifier.
-
addItem(String, float[]) - Method in class com.spotify.voyager.jni.StringIndex
+
addItem(String, float[]) - Method in class com.spotify.voyager.jni.StringIndex
 
-
addItem(String, List<Float>) - Method in class com.spotify.voyager.jni.StringIndex
+
addItem(String, List<Float>) - Method in class com.spotify.voyager.jni.StringIndex
 
-
addItems(float[][], int) - Method in class com.spotify.voyager.jni.Index
+
addItems(float[][], int) - Method in class com.spotify.voyager.jni.Index
Add multiple items (vectors) to this Index.
-
addItems(float[][], long[], int) - Method in class com.spotify.voyager.jni.Index
+
addItems(float[][], long[], int) - Method in class com.spotify.voyager.jni.Index
Add multiple items (vectors) to this Index.
-
addItems(Map<String, List<Float>>) - Method in class com.spotify.voyager.jni.StringIndex
+
addItems(Map<String, List<Float>>) - Method in class com.spotify.voyager.jni.StringIndex
 
- - - -

C

-
-
close() - Method in class com.spotify.voyager.jni.Index
+

C

+
+
close() - Method in class com.spotify.voyager.jni.Index
Close this Index and release any memory held by it.
-
close() - Method in class com.spotify.voyager.jni.StringIndex
+
close() - Method in class com.spotify.voyager.jni.StringIndex
 
com.spotify.voyager - package com.spotify.voyager
@@ -143,428 +96,341 @@

C

com.spotify.voyager.jni.utils - package com.spotify.voyager.jni.utils
 
-
Cosine - com.spotify.voyager.jni.Index.SpaceType
+
Cosine - Enum constant in enum com.spotify.voyager.jni.Index.SpaceType
Cosine distance; i.e.
- - - -

D

-
-
distances - Variable in class com.spotify.voyager.jni.Index.QueryResults
+

D

+
+
distances - Variable in class com.spotify.voyager.jni.Index.QueryResults
A list of distances from each item ID to the query vector for this query.
- - - -

E

-
-
E4M3 - com.spotify.voyager.jni.Index.StorageDataType
+

E

+
+
E4M3 - Enum constant in enum com.spotify.voyager.jni.Index.StorageDataType
A custom 8-bit floating point data type with range [-448, 448] and variable precision.
-
Euclidean - com.spotify.voyager.jni.Index.SpaceType
+
Euclidean - Enum constant in enum com.spotify.voyager.jni.Index.SpaceType
Euclidean distance, also known as L2 distance.
-
extractBinaries(String) - Static method in class com.spotify.voyager.jni.utils.JniLibExtractor
+
extractBinaries(String) - Static method in class com.spotify.voyager.jni.utils.JniLibExtractor
 
- - - -

F

-
-
finalize() - Method in class com.spotify.voyager.jni.Index
+

F

+
+
finalize() - Method in class com.spotify.voyager.jni.Index
 
-
Float32 - com.spotify.voyager.jni.Index.StorageDataType
+
Float32 - Enum constant in enum com.spotify.voyager.jni.Index.StorageDataType
A 32-bit floating point ("Float") data type.
-
Float8 - com.spotify.voyager.jni.Index.StorageDataType
+
Float8 - Enum constant in enum com.spotify.voyager.jni.Index.StorageDataType
An 8-bit floating point data type that expects all values to be on [-1, 1].
- - - -

G

-
-
getDistance(int) - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
+

G

+
+
getDistance(int) - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
 
-
getDistances() - Method in class com.spotify.voyager.jni.Index.QueryResults
+
getDistances() - Method in class com.spotify.voyager.jni.Index.QueryResults
Retrieve the list of distances between query vectors and item vectors for the results of this query.
-
getDistances() - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
+
getDistances() - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
 
-
getEf() - Method in class com.spotify.voyager.jni.Index
+
getEf() - Method in class com.spotify.voyager.jni.Index
Get the default EF ("query search depth") that will be uses when Index.query(float[], int) is called.
-
getEfConstruction() - Method in class com.spotify.voyager.jni.Index
+
getEfConstruction() - Method in class com.spotify.voyager.jni.Index
Get the EF Construction value used when adding new elements to this Index.
-
getIDs() - Method in class com.spotify.voyager.jni.Index
+
getIDs() - Method in class com.spotify.voyager.jni.Index
Get the list of identifiers currently stored by this index.
-
getLabels() - Method in class com.spotify.voyager.jni.Index.QueryResults
+
getLabels() - Method in class com.spotify.voyager.jni.Index.QueryResults
Retrieve the list of item IDs ("labels") returned by this query.
-
getM() - Method in class com.spotify.voyager.jni.Index
+
getM() - Method in class com.spotify.voyager.jni.Index
Get the M value used when adding new elements to this Index.
-
getMaxElements() - Method in class com.spotify.voyager.jni.Index
+
getMaxElements() - Method in class com.spotify.voyager.jni.Index
Get the maximum number of elements currently storable by this Index.
-
getName(int) - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
+
getName(int) - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
 
-
getNames() - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
+
getNames() - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
 
-
getNumDimensions() - Method in class com.spotify.voyager.jni.Index
+
getNumDimensions() - Method in class com.spotify.voyager.jni.Index
Get the number of dimensions used in this Index.
-
getNumElements() - Method in class com.spotify.voyager.jni.Index
+
getNumElements() - Method in class com.spotify.voyager.jni.Index
Get the number of elements currently in this Index.
-
getNumResults() - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
+
getNumResults() - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
 
-
getNumThreads() - Method in class com.spotify.voyager.jni.Index
+
getNumThreads() - Method in class com.spotify.voyager.jni.Index
Get the default number of threads used when adding multiple vectors in bulk oor when querying for multiple vectors simultaneously.
-
getSpace() - Method in class com.spotify.voyager.jni.Index
+
getSpace() - Method in class com.spotify.voyager.jni.Index
Get the Index.SpaceType that this Index uses to store and compare vectors.
-
getVector(long) - Method in class com.spotify.voyager.jni.Index
+
getVector(long) - Method in class com.spotify.voyager.jni.Index
Get the vector for the provided identifier.
-
getVectors(long[]) - Method in class com.spotify.voyager.jni.Index
+
getVectors(long[]) - Method in class com.spotify.voyager.jni.Index
Get the vectors for a provided array of identifiers.
- - - -

I

-
-
Index - Class in com.spotify.voyager.jni
+

I

+
+
Index - Class in com.spotify.voyager.jni
A Voyager index, providing storage of floating-point vectors and the ability to efficiently search among those vectors.
-
Index(Index.SpaceType, int) - Constructor for class com.spotify.voyager.jni.Index
+
Index(Index.SpaceType, int) - Constructor for class com.spotify.voyager.jni.Index
Create a new Index that uses the given Index.SpaceType to store and compare numDimensions-dimensional vectors.
-
Index(Index.SpaceType, int, long, long, long, long, Index.StorageDataType) - Constructor for class com.spotify.voyager.jni.Index
+
Index(Index.SpaceType, int, long, long, long, long, Index.StorageDataType) - Constructor for class com.spotify.voyager.jni.Index
Create a new Index that uses the given Index.SpaceType to store and compare numDimensions-dimensional vectors.
-
Index.QueryResults - Class in com.spotify.voyager.jni
+
Index.QueryResults - Class in com.spotify.voyager.jni
A container for query results, returned by Index.
-
Index.SpaceType - Enum in com.spotify.voyager.jni
+
Index.SpaceType - Enum in com.spotify.voyager.jni
The space, also known as distance metric, to use when searching.
-
Index.StorageDataType - Enum in com.spotify.voyager.jni
+
Index.StorageDataType - Enum in com.spotify.voyager.jni
The datatype used to use when storing vectors on disk.
-
InnerProduct - com.spotify.voyager.jni.Index.SpaceType
+
InnerProduct - Enum constant in enum com.spotify.voyager.jni.Index.SpaceType
Inner (dot) product.
- - - -

J

-
-
JniLibExtractor - Class in com.spotify.voyager.jni.utils
+

J

+
+
JniLibExtractor - Class in com.spotify.voyager.jni.utils
 
-
JniLibExtractor() - Constructor for class com.spotify.voyager.jni.utils.JniLibExtractor
+
JniLibExtractor() - Constructor for class com.spotify.voyager.jni.utils.JniLibExtractor
 
- - - -

L

-
-
labels - Variable in class com.spotify.voyager.jni.Index.QueryResults
+

L

+
+
labels - Variable in class com.spotify.voyager.jni.Index.QueryResults
A list of item IDs ("labels").
-
load(InputStream) - Static method in class com.spotify.voyager.jni.Index
+
load(InputStream) - Static method in class com.spotify.voyager.jni.Index
Interpret the contents of a java.io.InputStream as the contents of a Voyager index file and create a new Index initialized with the data provided by that stream.
-
load(InputStream, Index.SpaceType, int, Index.StorageDataType) - Static method in class com.spotify.voyager.jni.Index
+
load(InputStream, Index.SpaceType, int, Index.StorageDataType) - Static method in class com.spotify.voyager.jni.Index
Interpret the contents of a java.io.InputStream as the contents of a Voyager index file and create a new Index initialized with the data provided by that stream.
-
load(InputStream, InputStream) - Static method in class com.spotify.voyager.jni.StringIndex
+
load(InputStream, InputStream) - Static method in class com.spotify.voyager.jni.StringIndex
Load a previously constructed index from the provided input stream.
-
load(InputStream, InputStream, Index.SpaceType, int, Index.StorageDataType) - Static method in class com.spotify.voyager.jni.StringIndex
+
load(InputStream, InputStream, Index.SpaceType, int, Index.StorageDataType) - Static method in class com.spotify.voyager.jni.StringIndex
Load a previously constructed index from the provided input streams.
-
load(String) - Static method in class com.spotify.voyager.jni.Index
+
load(String) - Static method in class com.spotify.voyager.jni.Index
Load a Voyager index file and create a new Index initialized with the data in that file.
-
load(String, Index.SpaceType, int, Index.StorageDataType) - Static method in class com.spotify.voyager.jni.Index
+
load(String, Index.SpaceType, int, Index.StorageDataType) - Static method in class com.spotify.voyager.jni.Index
Load a Voyager index file and create a new Index initialized with the data in that file.
-
load(String, String) - Static method in class com.spotify.voyager.jni.StringIndex
+
load(String, String) - Static method in class com.spotify.voyager.jni.StringIndex
Load a previously constructed index from the provided file location.
-
load(String, String, Index.SpaceType, int, Index.StorageDataType) - Static method in class com.spotify.voyager.jni.StringIndex
+
load(String, String, Index.SpaceType, int, Index.StorageDataType) - Static method in class com.spotify.voyager.jni.StringIndex
Load a previously constructed index from the provided file location.
- - - -

M

-
-
markDeleted(long) - Method in class com.spotify.voyager.jni.Index
+

M

+
+
markDeleted(long) - Method in class com.spotify.voyager.jni.Index
Mark an element of the index as deleted.
- - - -

Q

-
-
query(float[][], int, int) - Method in class com.spotify.voyager.jni.Index
+

Q

+
+
query(float[][], int, int) - Method in class com.spotify.voyager.jni.Index
Query this Index for approximate nearest neighbors of multiple query vectors.
-
query(float[][], int, int, long) - Method in class com.spotify.voyager.jni.Index
+
query(float[][], int, int, long) - Method in class com.spotify.voyager.jni.Index
Query this Index for approximate nearest neighbors of multiple query vectors.
-
query(float[], int) - Method in class com.spotify.voyager.jni.Index
+
query(float[], int) - Method in class com.spotify.voyager.jni.Index
Query this Index for approximate nearest neighbors of a single query vector.
-
query(float[], int, int) - Method in class com.spotify.voyager.jni.StringIndex
+
query(float[], int, int) - Method in class com.spotify.voyager.jni.StringIndex
Find the nearest neighbors of the provided embedding.
-
query(float[], int, long) - Method in class com.spotify.voyager.jni.Index
+
query(float[], int, long) - Method in class com.spotify.voyager.jni.Index
Query this Index for approximate nearest neighbors of a single query vector.
-
QueryResults(long[], float[]) - Constructor for class com.spotify.voyager.jni.Index.QueryResults
+
QueryResults(long[], float[]) - Constructor for class com.spotify.voyager.jni.Index.QueryResults
Instantiates a new QueryResults object, provided two identical-length arrays of labels and their corresponding distances.
-
QueryResults(String[], float[]) - Constructor for class com.spotify.voyager.jni.StringIndex.QueryResults
+
QueryResults(String[], float[]) - Constructor for class com.spotify.voyager.jni.StringIndex.QueryResults
 
- - - -

R

-
-
readStringList(InputStream) - Static method in class com.spotify.voyager.jni.utils.TinyJson
+

R

+
+
readStringList(InputStream) - Static method in class com.spotify.voyager.jni.utils.TinyJson
 
-
resizeIndex(long) - Method in class com.spotify.voyager.jni.Index
+
resizeIndex(long) - Method in class com.spotify.voyager.jni.Index
Change the maximum number of elements currently storable by this Index.
- - - -

S

-
-
saveIndex(OutputStream) - Method in class com.spotify.voyager.jni.Index
+

S

+
+
saveIndex(OutputStream) - Method in class com.spotify.voyager.jni.Index
Save this Index to the provided output stream.
-
saveIndex(OutputStream, OutputStream) - Method in class com.spotify.voyager.jni.StringIndex
+
saveIndex(OutputStream, OutputStream) - Method in class com.spotify.voyager.jni.StringIndex
Save the underlying HNSW index and JSON encoded names list to the provided output streams
-
saveIndex(String) - Method in class com.spotify.voyager.jni.Index
+
saveIndex(String) - Method in class com.spotify.voyager.jni.Index
Save this Index to a file at the provided filename.
-
saveIndex(String) - Method in class com.spotify.voyager.jni.StringIndex
+
saveIndex(String) - Method in class com.spotify.voyager.jni.StringIndex
Save the underlying index and JSON encoded name list to the provided output directory
-
saveIndex(String, String, String) - Method in class com.spotify.voyager.jni.StringIndex
+
saveIndex(String, String, String) - Method in class com.spotify.voyager.jni.StringIndex
 
-
setEf(long) - Method in class com.spotify.voyager.jni.Index
+
setEf(long) - Method in class com.spotify.voyager.jni.Index
Set the default EF ("query search depth") to use when Index.query(float[], int) is called.
-
setNumThreads(int) - Method in class com.spotify.voyager.jni.Index
+
setNumThreads(int) - Method in class com.spotify.voyager.jni.Index
Set the default number of threads to use when adding multiple vectors in bulk, or when querying for multiple vectors simultaneously.
-
StringIndex - Class in com.spotify.voyager.jni
+
StringIndex - Class in com.spotify.voyager.jni
Wrapper around com.spotify.voyager.jni.Index with a simplified interface which maps the index ID to a provided String.
-
StringIndex(Index.SpaceType, int) - Constructor for class com.spotify.voyager.jni.StringIndex
+
StringIndex(Index.SpaceType, int) - Constructor for class com.spotify.voyager.jni.StringIndex
Instantiate a new empty index with the specified space type and dimensionality
-
StringIndex(Index.SpaceType, int, long, long, long, long, Index.StorageDataType) - Constructor for class com.spotify.voyager.jni.StringIndex
+
StringIndex(Index.SpaceType, int, long, long, long, long, Index.StorageDataType) - Constructor for class com.spotify.voyager.jni.StringIndex
Instantiate an empty index with the specified index parameters
-
StringIndex.QueryResults - Class in com.spotify.voyager.jni
+
StringIndex.QueryResults - Class in com.spotify.voyager.jni
A wrapper class for nearest neighbor query results.
- - - -

T

-
-
TinyJson - Class in com.spotify.voyager.jni.utils
+

T

+
+
TinyJson - Class in com.spotify.voyager.jni.utils
A dependency-free, super tiny JSON serde class that only supports reading and writing lists of strings.
-
TinyJson() - Constructor for class com.spotify.voyager.jni.utils.TinyJson
+
TinyJson() - Constructor for class com.spotify.voyager.jni.utils.TinyJson
 
-
toString() - Method in class com.spotify.voyager.jni.Index.QueryResults
+
toString() - Method in class com.spotify.voyager.jni.Index.QueryResults
 
-
toString() - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
+
toString() - Method in class com.spotify.voyager.jni.StringIndex.QueryResults
 
- - - -

U

-
-
unmarkDeleted(long) - Method in class com.spotify.voyager.jni.Index
+

U

+
+
unmarkDeleted(long) - Method in class com.spotify.voyager.jni.Index
Un-mark an element of the index as deleted, making it available again.
- - - -

V

-
-
valueOf(String) - Static method in enum com.spotify.voyager.jni.Index.SpaceType
+

V

+
+
valueOf(String) - Static method in enum com.spotify.voyager.jni.Index.SpaceType
Returns the enum constant of this type with the specified name.
-
valueOf(String) - Static method in enum com.spotify.voyager.jni.Index.StorageDataType
+
valueOf(String) - Static method in enum com.spotify.voyager.jni.Index.StorageDataType
Returns the enum constant of this type with the specified name.
-
values() - Static method in enum com.spotify.voyager.jni.Index.SpaceType
+
values() - Static method in enum com.spotify.voyager.jni.Index.SpaceType
Returns an array containing the constants of this enum type, in the order they are declared.
-
values() - Static method in enum com.spotify.voyager.jni.Index.StorageDataType
+
values() - Static method in enum com.spotify.voyager.jni.Index.StorageDataType
Returns an array containing the constants of this enum type, in the order they are declared.
- - - -

W

-
-
writeStringList(Iterable<String>, OutputStream) - Static method in class com.spotify.voyager.jni.utils.TinyJson
+

W

+
+
writeStringList(Iterable<String>, OutputStream) - Static method in class com.spotify.voyager.jni.utils.TinyJson
 
-A C D E F G I J L M Q R S T U V W 
All Classes All Packages
-
+A C D E F G I J L M Q R S T U V W 
All Classes and Interfaces|All Packages
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/index.html b/docs/java/index.html index cd21a37f..241f7931 100644 --- a/docs/java/index.html +++ b/docs/java/index.html @@ -1,176 +1,80 @@ - - -Overview (voyager 2.0.2 API) + +Overview (voyager 2.0.4 API) + - + + + - + + - - - - - + + - - -
+
+ +
+
-

voyager 2.0.2 API

+

voyager 2.0.4 API

-
-
- - - - - - - - - - - - - - - - - - - - -
Packages 
PackageDescription
com.spotify.voyager +
+
Packages
+
+
Package
+
Description
+ +
Voyager is a Java and Python library that provides approximate nearest-neighbor search of vector data.
-
com.spotify.voyager.jni + + +
Java Native Interface (JNI) bindings to expose functionality from Voyager's C++ code into Java.
-
com.spotify.voyager.jni.utils 
+
+ +
 
+
- - - -

Copyright © 2023. All rights reserved.

- diff --git a/docs/java/jquery-ui.overrides.css b/docs/java/jquery-ui.overrides.css index f89acb63..facf852c 100644 --- a/docs/java/jquery-ui.overrides.css +++ b/docs/java/jquery-ui.overrides.css @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -31,4 +31,5 @@ a.ui-button:active, .ui-button.ui-state-active:hover { /* Overrides the color of selection used in jQuery UI */ background: #F8981D; + border: 1px solid #F8981D; } diff --git a/docs/java/legal/jquery.md b/docs/java/legal/jquery.md index 8054a34c..d468b318 100644 --- a/docs/java/legal/jquery.md +++ b/docs/java/legal/jquery.md @@ -1,9 +1,9 @@ -## jQuery v3.5.1 +## jQuery v3.6.1 ### jQuery License ``` -jQuery v 3.5.1 -Copyright JS Foundation and other contributors, https://js.foundation/ +jQuery v 3.6.1 +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the @@ -26,7 +26,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ****************************************** -The jQuery JavaScript Library v3.5.1 also includes Sizzle.js +The jQuery JavaScript Library v3.6.1 also includes Sizzle.js Sizzle.js includes the following license: diff --git a/docs/java/legal/jqueryUI.md b/docs/java/legal/jqueryUI.md index 8031bdb5..8bda9d7a 100644 --- a/docs/java/legal/jqueryUI.md +++ b/docs/java/legal/jqueryUI.md @@ -1,4 +1,4 @@ -## jQuery UI v1.12.1 +## jQuery UI v1.13.2 ### jQuery UI License ``` diff --git a/docs/java/member-search-index.js b/docs/java/member-search-index.js index 5240a750..2499c325 100644 --- a/docs/java/member-search-index.js +++ b/docs/java/member-search-index.js @@ -1 +1 @@ -memberSearchIndex = [{"p":"com.spotify.voyager.jni","c":"Index","l":"addItem(float[], long)","url":"addItem(float[],long)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"addItem(float[])"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"addItem(String, float[])","url":"addItem(java.lang.String,float[])"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"addItem(String, List)","url":"addItem(java.lang.String,java.util.List)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"addItems(float[][], int)","url":"addItems(float[][],int)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"addItems(float[][], long[], int)","url":"addItems(float[][],long[],int)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"addItems(Map>)","url":"addItems(java.util.Map)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"close()"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"close()"},{"p":"com.spotify.voyager.jni","c":"Index.SpaceType","l":"Cosine"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"distances"},{"p":"com.spotify.voyager.jni","c":"Index.StorageDataType","l":"E4M3"},{"p":"com.spotify.voyager.jni","c":"Index.SpaceType","l":"Euclidean"},{"p":"com.spotify.voyager.jni.utils","c":"JniLibExtractor","l":"extractBinaries(String)","url":"extractBinaries(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"finalize()"},{"p":"com.spotify.voyager.jni","c":"Index.StorageDataType","l":"Float32"},{"p":"com.spotify.voyager.jni","c":"Index.StorageDataType","l":"Float8"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"getDistance(int)"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"getDistances()"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"getDistances()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getEf()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getEfConstruction()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getIDs()"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"getLabels()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getM()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getMaxElements()"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"getName(int)"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"getNames()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getNumDimensions()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getNumElements()"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"getNumResults()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getNumThreads()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getSpace()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getVector(long)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getVectors(long[])"},{"p":"com.spotify.voyager.jni","c":"Index","l":"Index(Index.SpaceType, int, long, long, long, long, Index.StorageDataType)","url":"%3Cinit%3E(com.spotify.voyager.jni.Index.SpaceType,int,long,long,long,long,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"Index(Index.SpaceType, int)","url":"%3Cinit%3E(com.spotify.voyager.jni.Index.SpaceType,int)"},{"p":"com.spotify.voyager.jni","c":"Index.SpaceType","l":"InnerProduct"},{"p":"com.spotify.voyager.jni.utils","c":"JniLibExtractor","l":"JniLibExtractor()","url":"%3Cinit%3E()"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"labels"},{"p":"com.spotify.voyager.jni","c":"Index","l":"load(InputStream, Index.SpaceType, int, Index.StorageDataType)","url":"load(java.io.InputStream,com.spotify.voyager.jni.Index.SpaceType,int,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"load(InputStream, InputStream, Index.SpaceType, int, Index.StorageDataType)","url":"load(java.io.InputStream,java.io.InputStream,com.spotify.voyager.jni.Index.SpaceType,int,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"load(InputStream, InputStream)","url":"load(java.io.InputStream,java.io.InputStream)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"load(InputStream)","url":"load(java.io.InputStream)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"load(String, Index.SpaceType, int, Index.StorageDataType)","url":"load(java.lang.String,com.spotify.voyager.jni.Index.SpaceType,int,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"load(String, String, Index.SpaceType, int, Index.StorageDataType)","url":"load(java.lang.String,java.lang.String,com.spotify.voyager.jni.Index.SpaceType,int,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"load(String, String)","url":"load(java.lang.String,java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"load(String)","url":"load(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"markDeleted(long)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"query(float[], int, int)","url":"query(float[],int,int)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"query(float[], int, long)","url":"query(float[],int,long)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"query(float[], int)","url":"query(float[],int)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"query(float[][], int, int, long)","url":"query(float[][],int,int,long)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"query(float[][], int, int)","url":"query(float[][],int,int)"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"QueryResults(long[], float[])","url":"%3Cinit%3E(long[],float[])"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"QueryResults(String[], float[])","url":"%3Cinit%3E(java.lang.String[],float[])"},{"p":"com.spotify.voyager.jni.utils","c":"TinyJson","l":"readStringList(InputStream)","url":"readStringList(java.io.InputStream)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"resizeIndex(long)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"saveIndex(OutputStream, OutputStream)","url":"saveIndex(java.io.OutputStream,java.io.OutputStream)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"saveIndex(OutputStream)","url":"saveIndex(java.io.OutputStream)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"saveIndex(String, String, String)","url":"saveIndex(java.lang.String,java.lang.String,java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"saveIndex(String)","url":"saveIndex(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"saveIndex(String)","url":"saveIndex(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"setEf(long)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"setNumThreads(int)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"StringIndex(Index.SpaceType, int, long, long, long, long, Index.StorageDataType)","url":"%3Cinit%3E(com.spotify.voyager.jni.Index.SpaceType,int,long,long,long,long,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"StringIndex(Index.SpaceType, int)","url":"%3Cinit%3E(com.spotify.voyager.jni.Index.SpaceType,int)"},{"p":"com.spotify.voyager.jni.utils","c":"TinyJson","l":"TinyJson()","url":"%3Cinit%3E()"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"toString()"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"toString()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"unmarkDeleted(long)"},{"p":"com.spotify.voyager.jni","c":"Index.SpaceType","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index.StorageDataType","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index.SpaceType","l":"values()"},{"p":"com.spotify.voyager.jni","c":"Index.StorageDataType","l":"values()"},{"p":"com.spotify.voyager.jni.utils","c":"TinyJson","l":"writeStringList(Iterable, OutputStream)","url":"writeStringList(java.lang.Iterable,java.io.OutputStream)"}] \ No newline at end of file +memberSearchIndex = [{"p":"com.spotify.voyager.jni","c":"Index","l":"addItem(float[])"},{"p":"com.spotify.voyager.jni","c":"Index","l":"addItem(float[], long)","u":"addItem(float[],long)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"addItem(String, float[])","u":"addItem(java.lang.String,float[])"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"addItem(String, List)","u":"addItem(java.lang.String,java.util.List)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"addItems(float[][], int)","u":"addItems(float[][],int)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"addItems(float[][], long[], int)","u":"addItems(float[][],long[],int)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"addItems(Map>)","u":"addItems(java.util.Map)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"close()"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"close()"},{"p":"com.spotify.voyager.jni","c":"Index.SpaceType","l":"Cosine"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"distances"},{"p":"com.spotify.voyager.jni","c":"Index.StorageDataType","l":"E4M3"},{"p":"com.spotify.voyager.jni","c":"Index.SpaceType","l":"Euclidean"},{"p":"com.spotify.voyager.jni.utils","c":"JniLibExtractor","l":"extractBinaries(String)","u":"extractBinaries(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"finalize()"},{"p":"com.spotify.voyager.jni","c":"Index.StorageDataType","l":"Float32"},{"p":"com.spotify.voyager.jni","c":"Index.StorageDataType","l":"Float8"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"getDistance(int)"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"getDistances()"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"getDistances()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getEf()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getEfConstruction()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getIDs()"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"getLabels()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getM()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getMaxElements()"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"getName(int)"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"getNames()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getNumDimensions()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getNumElements()"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"getNumResults()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getNumThreads()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getSpace()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getVector(long)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"getVectors(long[])"},{"p":"com.spotify.voyager.jni","c":"Index","l":"Index(Index.SpaceType, int)","u":"%3Cinit%3E(com.spotify.voyager.jni.Index.SpaceType,int)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"Index(Index.SpaceType, int, long, long, long, long, Index.StorageDataType)","u":"%3Cinit%3E(com.spotify.voyager.jni.Index.SpaceType,int,long,long,long,long,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni","c":"Index.SpaceType","l":"InnerProduct"},{"p":"com.spotify.voyager.jni.utils","c":"JniLibExtractor","l":"JniLibExtractor()","u":"%3Cinit%3E()"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"labels"},{"p":"com.spotify.voyager.jni","c":"Index","l":"load(InputStream)","u":"load(java.io.InputStream)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"load(InputStream, Index.SpaceType, int, Index.StorageDataType)","u":"load(java.io.InputStream,com.spotify.voyager.jni.Index.SpaceType,int,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"load(InputStream, InputStream)","u":"load(java.io.InputStream,java.io.InputStream)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"load(InputStream, InputStream, Index.SpaceType, int, Index.StorageDataType)","u":"load(java.io.InputStream,java.io.InputStream,com.spotify.voyager.jni.Index.SpaceType,int,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"load(String)","u":"load(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"load(String, Index.SpaceType, int, Index.StorageDataType)","u":"load(java.lang.String,com.spotify.voyager.jni.Index.SpaceType,int,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"load(String, String)","u":"load(java.lang.String,java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"load(String, String, Index.SpaceType, int, Index.StorageDataType)","u":"load(java.lang.String,java.lang.String,com.spotify.voyager.jni.Index.SpaceType,int,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"markDeleted(long)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"query(float[], int)","u":"query(float[],int)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"query(float[], int, int)","u":"query(float[],int,int)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"query(float[], int, long)","u":"query(float[],int,long)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"query(float[][], int, int)","u":"query(float[][],int,int)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"query(float[][], int, int, long)","u":"query(float[][],int,int,long)"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"QueryResults(long[], float[])","u":"%3Cinit%3E(long[],float[])"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"QueryResults(String[], float[])","u":"%3Cinit%3E(java.lang.String[],float[])"},{"p":"com.spotify.voyager.jni.utils","c":"TinyJson","l":"readStringList(InputStream)","u":"readStringList(java.io.InputStream)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"resizeIndex(long)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"saveIndex(OutputStream)","u":"saveIndex(java.io.OutputStream)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"saveIndex(OutputStream, OutputStream)","u":"saveIndex(java.io.OutputStream,java.io.OutputStream)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"saveIndex(String)","u":"saveIndex(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"saveIndex(String)","u":"saveIndex(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"saveIndex(String, String, String)","u":"saveIndex(java.lang.String,java.lang.String,java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"setEf(long)"},{"p":"com.spotify.voyager.jni","c":"Index","l":"setNumThreads(int)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"StringIndex(Index.SpaceType, int)","u":"%3Cinit%3E(com.spotify.voyager.jni.Index.SpaceType,int)"},{"p":"com.spotify.voyager.jni","c":"StringIndex","l":"StringIndex(Index.SpaceType, int, long, long, long, long, Index.StorageDataType)","u":"%3Cinit%3E(com.spotify.voyager.jni.Index.SpaceType,int,long,long,long,long,com.spotify.voyager.jni.Index.StorageDataType)"},{"p":"com.spotify.voyager.jni.utils","c":"TinyJson","l":"TinyJson()","u":"%3Cinit%3E()"},{"p":"com.spotify.voyager.jni","c":"Index.QueryResults","l":"toString()"},{"p":"com.spotify.voyager.jni","c":"StringIndex.QueryResults","l":"toString()"},{"p":"com.spotify.voyager.jni","c":"Index","l":"unmarkDeleted(long)"},{"p":"com.spotify.voyager.jni","c":"Index.SpaceType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index.StorageDataType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.spotify.voyager.jni","c":"Index.SpaceType","l":"values()"},{"p":"com.spotify.voyager.jni","c":"Index.StorageDataType","l":"values()"},{"p":"com.spotify.voyager.jni.utils","c":"TinyJson","l":"writeStringList(Iterable, OutputStream)","u":"writeStringList(java.lang.Iterable,java.io.OutputStream)"}];updateSearchResults(); \ No newline at end of file diff --git a/docs/java/overview-summary.html b/docs/java/overview-summary.html index 83de49a6..e923a8d4 100644 --- a/docs/java/overview-summary.html +++ b/docs/java/overview-summary.html @@ -1,18 +1,21 @@ - - -voyager 2.0.2 API + +voyager 2.0.4 API + + + + + + - - - +