diff --git a/docs/java/allclasses-index.html b/docs/java/allclasses-index.html index 29324ea1..4f2d0602 100644 --- a/docs/java/allclasses-index.html +++ b/docs/java/allclasses-index.html @@ -1,26 +1,21 @@ - +
Summary:
Detail:
Index
Cosine
Euclidean
id
float
RuntimeException
ids
long
StringIndex
void
close()
static StringIndex
load(InputStream indexInputStream, +long +getMaxElements() + +Get the maximum number of elements currently storable by this Index. + +long +getNumElements() + +float[] +getVector(String name) + +static StringIndex +load(InputStream indexInputStream, InputStream nameListInputStream) - + Load a previously constructed index from the provided input stream. -static StringIndex -load(InputStream indexInputStream, +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. -static StringIndex -load(String indexFilename, +static StringIndex +load(String indexFilename, String nameListFilename) - + Load a previously constructed index from the provided file location. -static StringIndex -load(String indexFilename, +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. -StringIndex.QueryResults[] -query(float[][] queryVectors, +StringIndex.QueryResults[] +query(float[][] queryVectors, int numNeighbors, int numThreads, int ef) - + Query for multiple target vectors in parallel. -StringIndex.QueryResults -query(float[] queryVector, +StringIndex.QueryResults +query(float[] queryVector, int numNeighbors, int ef) - + Find the nearest neighbors of the provided embedding. +void +resizeIndex(long newSize) + +Change the maximum number of elements currently storable by this Index. + void saveIndex(OutputStream indexOutputStream, OutputStream namesListOutputStream) @@ -302,18 +332,11 @@ load Parameters: indexFilename - Filename of the underlying HNSW index nameListFilename - Filename of the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -332,18 +355,11 @@ load Parameters: indexInputStream - input stream pointing to the underlying HNSW index nameListInputStream - input stream pointing to the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -443,6 +459,18 @@ addItems + +getNumElements +public long getNumElements() + + + + +getVector +public float[] getVector(String name) + + + query public StringIndex.QueryResults query(float[] queryVector, @@ -499,6 +527,31 @@ close + + +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: +newSize - The new number of maximum elements to resize this Index to. + + + + + +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: +The number of elements (vectors) that are currently storable in this Index. + + + 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 24cceeec..4c506014 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 b5c90abb..df899153 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 82680c41..fa8b31bc 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 2e142634..317b9272 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/Index.html +++ b/docs/java/com/spotify/voyager/jni/class-use/Index.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 717d5af2..b1a24b71 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 dcc602e9..18cacd43 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html +++ b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-summary.html b/docs/java/com/spotify/voyager/jni/package-summary.html index 61b9f616..ae4eae1f 100644 --- a/docs/java/com/spotify/voyager/jni/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/package-summary.html @@ -1,26 +1,21 @@ - + - -com.spotify.voyager.jni (voyager 2.0.7 API) + +com.spotify.voyager.jni (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -50,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-tree.html b/docs/java/com/spotify/voyager/jni/package-tree.html index c51f0b6f..e4f746b5 100644 --- a/docs/java/com/spotify/voyager/jni/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni + Package Hierarchies: - + All Packages - Class Hierarchy diff --git a/docs/java/com/spotify/voyager/jni/package-use.html b/docs/java/com/spotify/voyager/jni/package-use.html index a46349fe..e98e5367 100644 --- a/docs/java/com/spotify/voyager/jni/package-use.html +++ b/docs/java/com/spotify/voyager/jni/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html index b164e575..b2107cbc 100644 --- a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html +++ b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html @@ -1,26 +1,21 @@ - + - -JniLibExtractor (voyager 2.0.7 API) + +JniLibExtractor (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html index cf2260df..0b152ffd 100644 --- a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html +++ b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html @@ -1,26 +1,21 @@ - + - -TinyJson (voyager 2.0.7 API) + +TinyJson (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + @@ -108,7 +122,7 @@ Method Summary Modifier and Type Method Description -static List<String> +static List<String> readStringList(InputStream stream) static void 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 e69e288e..573cf49e 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 4d7362c1..413e69af 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 6ef05e99..4e94a0a6 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + 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 52d86e53..fb5afb1a 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni.utils + Package Hierarchies: - + All Packages - Class Hierarchy 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 655f67bd..7cd43ad3 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-use.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-summary.html b/docs/java/com/spotify/voyager/package-summary.html index e67fce57..e419037d 100644 --- a/docs/java/com/spotify/voyager/package-summary.html +++ b/docs/java/com/spotify/voyager/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager (voyager 2.0.7 API) + +com.spotify.voyager (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-tree.html b/docs/java/com/spotify/voyager/package-tree.html index cae542be..8bc9cff9 100644 --- a/docs/java/com/spotify/voyager/package-tree.html +++ b/docs/java/com/spotify/voyager/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager + Package Hierarchies: - + All Packages -
getMaxElements()
getNumElements()
float[]
getVector(String name)
load(InputStream indexInputStream, InputStream nameListInputStream)
load(InputStream indexInputStream, +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. -static StringIndex -load(String indexFilename, +static StringIndex +load(String indexFilename, String nameListFilename) - + Load a previously constructed index from the provided file location. -static StringIndex -load(String indexFilename, +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. -StringIndex.QueryResults[] -query(float[][] queryVectors, +StringIndex.QueryResults[] +query(float[][] queryVectors, int numNeighbors, int numThreads, int ef) - + Query for multiple target vectors in parallel. -StringIndex.QueryResults -query(float[] queryVector, +StringIndex.QueryResults +query(float[] queryVector, int numNeighbors, int ef) - + Find the nearest neighbors of the provided embedding. +void +resizeIndex(long newSize) + +Change the maximum number of elements currently storable by this Index. + void saveIndex(OutputStream indexOutputStream, OutputStream namesListOutputStream) @@ -302,18 +332,11 @@ load Parameters: indexFilename - Filename of the underlying HNSW index nameListFilename - Filename of the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -332,18 +355,11 @@ load Parameters: indexInputStream - input stream pointing to the underlying HNSW index nameListInputStream - input stream pointing to the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -443,6 +459,18 @@ addItems + +getNumElements +public long getNumElements() + + + + +getVector +public float[] getVector(String name) + + + query public StringIndex.QueryResults query(float[] queryVector, @@ -499,6 +527,31 @@ close + + +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: +newSize - The new number of maximum elements to resize this Index to. + + + + + +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: +The number of elements (vectors) that are currently storable in this Index. + + + 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 24cceeec..4c506014 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 b5c90abb..df899153 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 82680c41..fa8b31bc 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 2e142634..317b9272 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/Index.html +++ b/docs/java/com/spotify/voyager/jni/class-use/Index.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 717d5af2..b1a24b71 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 dcc602e9..18cacd43 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html +++ b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-summary.html b/docs/java/com/spotify/voyager/jni/package-summary.html index 61b9f616..ae4eae1f 100644 --- a/docs/java/com/spotify/voyager/jni/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/package-summary.html @@ -1,26 +1,21 @@ - + - -com.spotify.voyager.jni (voyager 2.0.7 API) + +com.spotify.voyager.jni (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -50,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-tree.html b/docs/java/com/spotify/voyager/jni/package-tree.html index c51f0b6f..e4f746b5 100644 --- a/docs/java/com/spotify/voyager/jni/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni + Package Hierarchies: - + All Packages - Class Hierarchy diff --git a/docs/java/com/spotify/voyager/jni/package-use.html b/docs/java/com/spotify/voyager/jni/package-use.html index a46349fe..e98e5367 100644 --- a/docs/java/com/spotify/voyager/jni/package-use.html +++ b/docs/java/com/spotify/voyager/jni/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html index b164e575..b2107cbc 100644 --- a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html +++ b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html @@ -1,26 +1,21 @@ - + - -JniLibExtractor (voyager 2.0.7 API) + +JniLibExtractor (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html index cf2260df..0b152ffd 100644 --- a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html +++ b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html @@ -1,26 +1,21 @@ - + - -TinyJson (voyager 2.0.7 API) + +TinyJson (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + @@ -108,7 +122,7 @@ Method Summary Modifier and Type Method Description -static List<String> +static List<String> readStringList(InputStream stream) static void 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 e69e288e..573cf49e 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 4d7362c1..413e69af 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 6ef05e99..4e94a0a6 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + 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 52d86e53..fb5afb1a 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni.utils + Package Hierarchies: - + All Packages - Class Hierarchy 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 655f67bd..7cd43ad3 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-use.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-summary.html b/docs/java/com/spotify/voyager/package-summary.html index e67fce57..e419037d 100644 --- a/docs/java/com/spotify/voyager/package-summary.html +++ b/docs/java/com/spotify/voyager/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager (voyager 2.0.7 API) + +com.spotify.voyager (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-tree.html b/docs/java/com/spotify/voyager/package-tree.html index cae542be..8bc9cff9 100644 --- a/docs/java/com/spotify/voyager/package-tree.html +++ b/docs/java/com/spotify/voyager/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager + Package Hierarchies: - + All Packages -
load(InputStream indexInputStream, InputStream nameListInputStream, Index.SpaceType spaceType, int numDimensions, Index.StorageDataType storageDataType)
load(String indexFilename, +static StringIndex +load(String indexFilename, String nameListFilename) - + Load a previously constructed index from the provided file location. -static StringIndex -load(String indexFilename, +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. -StringIndex.QueryResults[] -query(float[][] queryVectors, +StringIndex.QueryResults[] +query(float[][] queryVectors, int numNeighbors, int numThreads, int ef) - + Query for multiple target vectors in parallel. -StringIndex.QueryResults -query(float[] queryVector, +StringIndex.QueryResults +query(float[] queryVector, int numNeighbors, int ef) - + Find the nearest neighbors of the provided embedding. +void +resizeIndex(long newSize) + +Change the maximum number of elements currently storable by this Index. + void saveIndex(OutputStream indexOutputStream, OutputStream namesListOutputStream) @@ -302,18 +332,11 @@ load Parameters: indexFilename - Filename of the underlying HNSW index nameListFilename - Filename of the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -332,18 +355,11 @@ load Parameters: indexInputStream - input stream pointing to the underlying HNSW index nameListInputStream - input stream pointing to the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -443,6 +459,18 @@ addItems + +getNumElements +public long getNumElements() + + + + +getVector +public float[] getVector(String name) + + + query public StringIndex.QueryResults query(float[] queryVector, @@ -499,6 +527,31 @@ close + + +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: +newSize - The new number of maximum elements to resize this Index to. + + + + + +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: +The number of elements (vectors) that are currently storable in this Index. + + + 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 24cceeec..4c506014 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 b5c90abb..df899153 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 82680c41..fa8b31bc 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 2e142634..317b9272 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/Index.html +++ b/docs/java/com/spotify/voyager/jni/class-use/Index.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 717d5af2..b1a24b71 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 dcc602e9..18cacd43 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html +++ b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-summary.html b/docs/java/com/spotify/voyager/jni/package-summary.html index 61b9f616..ae4eae1f 100644 --- a/docs/java/com/spotify/voyager/jni/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/package-summary.html @@ -1,26 +1,21 @@ - + - -com.spotify.voyager.jni (voyager 2.0.7 API) + +com.spotify.voyager.jni (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -50,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-tree.html b/docs/java/com/spotify/voyager/jni/package-tree.html index c51f0b6f..e4f746b5 100644 --- a/docs/java/com/spotify/voyager/jni/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni + Package Hierarchies: - + All Packages - Class Hierarchy diff --git a/docs/java/com/spotify/voyager/jni/package-use.html b/docs/java/com/spotify/voyager/jni/package-use.html index a46349fe..e98e5367 100644 --- a/docs/java/com/spotify/voyager/jni/package-use.html +++ b/docs/java/com/spotify/voyager/jni/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html index b164e575..b2107cbc 100644 --- a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html +++ b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html @@ -1,26 +1,21 @@ - + - -JniLibExtractor (voyager 2.0.7 API) + +JniLibExtractor (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html index cf2260df..0b152ffd 100644 --- a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html +++ b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html @@ -1,26 +1,21 @@ - + - -TinyJson (voyager 2.0.7 API) + +TinyJson (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + @@ -108,7 +122,7 @@ Method Summary Modifier and Type Method Description -static List<String> +static List<String> readStringList(InputStream stream) static void 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 e69e288e..573cf49e 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 4d7362c1..413e69af 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 6ef05e99..4e94a0a6 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + 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 52d86e53..fb5afb1a 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni.utils + Package Hierarchies: - + All Packages - Class Hierarchy 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 655f67bd..7cd43ad3 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-use.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-summary.html b/docs/java/com/spotify/voyager/package-summary.html index e67fce57..e419037d 100644 --- a/docs/java/com/spotify/voyager/package-summary.html +++ b/docs/java/com/spotify/voyager/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager (voyager 2.0.7 API) + +com.spotify.voyager (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-tree.html b/docs/java/com/spotify/voyager/package-tree.html index cae542be..8bc9cff9 100644 --- a/docs/java/com/spotify/voyager/package-tree.html +++ b/docs/java/com/spotify/voyager/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager + Package Hierarchies: - + All Packages -
load(String indexFilename, String nameListFilename)
load(String indexFilename, +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. -StringIndex.QueryResults[] -query(float[][] queryVectors, +StringIndex.QueryResults[] +query(float[][] queryVectors, int numNeighbors, int numThreads, int ef) - + Query for multiple target vectors in parallel. -StringIndex.QueryResults -query(float[] queryVector, +StringIndex.QueryResults +query(float[] queryVector, int numNeighbors, int ef) - + Find the nearest neighbors of the provided embedding. +void +resizeIndex(long newSize) + +Change the maximum number of elements currently storable by this Index. + void saveIndex(OutputStream indexOutputStream, OutputStream namesListOutputStream) @@ -302,18 +332,11 @@ load Parameters: indexFilename - Filename of the underlying HNSW index nameListFilename - Filename of the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -332,18 +355,11 @@ load Parameters: indexInputStream - input stream pointing to the underlying HNSW index nameListInputStream - input stream pointing to the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -443,6 +459,18 @@ addItems + +getNumElements +public long getNumElements() + + + + +getVector +public float[] getVector(String name) + + + query public StringIndex.QueryResults query(float[] queryVector, @@ -499,6 +527,31 @@ close + + +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: +newSize - The new number of maximum elements to resize this Index to. + + + + + +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: +The number of elements (vectors) that are currently storable in this Index. + + + 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 24cceeec..4c506014 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 b5c90abb..df899153 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 82680c41..fa8b31bc 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 2e142634..317b9272 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/Index.html +++ b/docs/java/com/spotify/voyager/jni/class-use/Index.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 717d5af2..b1a24b71 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 dcc602e9..18cacd43 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html +++ b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-summary.html b/docs/java/com/spotify/voyager/jni/package-summary.html index 61b9f616..ae4eae1f 100644 --- a/docs/java/com/spotify/voyager/jni/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/package-summary.html @@ -1,26 +1,21 @@ - + - -com.spotify.voyager.jni (voyager 2.0.7 API) + +com.spotify.voyager.jni (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -50,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-tree.html b/docs/java/com/spotify/voyager/jni/package-tree.html index c51f0b6f..e4f746b5 100644 --- a/docs/java/com/spotify/voyager/jni/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni + Package Hierarchies: - + All Packages - Class Hierarchy diff --git a/docs/java/com/spotify/voyager/jni/package-use.html b/docs/java/com/spotify/voyager/jni/package-use.html index a46349fe..e98e5367 100644 --- a/docs/java/com/spotify/voyager/jni/package-use.html +++ b/docs/java/com/spotify/voyager/jni/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html index b164e575..b2107cbc 100644 --- a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html +++ b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html @@ -1,26 +1,21 @@ - + - -JniLibExtractor (voyager 2.0.7 API) + +JniLibExtractor (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html index cf2260df..0b152ffd 100644 --- a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html +++ b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html @@ -1,26 +1,21 @@ - + - -TinyJson (voyager 2.0.7 API) + +TinyJson (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + @@ -108,7 +122,7 @@ Method Summary Modifier and Type Method Description -static List<String> +static List<String> readStringList(InputStream stream) static void 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 e69e288e..573cf49e 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 4d7362c1..413e69af 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 6ef05e99..4e94a0a6 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + 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 52d86e53..fb5afb1a 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni.utils + Package Hierarchies: - + All Packages - Class Hierarchy 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 655f67bd..7cd43ad3 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-use.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-summary.html b/docs/java/com/spotify/voyager/package-summary.html index e67fce57..e419037d 100644 --- a/docs/java/com/spotify/voyager/package-summary.html +++ b/docs/java/com/spotify/voyager/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager (voyager 2.0.7 API) + +com.spotify.voyager (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-tree.html b/docs/java/com/spotify/voyager/package-tree.html index cae542be..8bc9cff9 100644 --- a/docs/java/com/spotify/voyager/package-tree.html +++ b/docs/java/com/spotify/voyager/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager + Package Hierarchies: - + All Packages -
load(String indexFilename, String nameListFilename, Index.SpaceType spaceType, int numDimensions, Index.StorageDataType storageDataType)
StringIndex.QueryResults[]
query(float[][] queryVectors, +StringIndex.QueryResults[] +query(float[][] queryVectors, int numNeighbors, int numThreads, int ef) - + Query for multiple target vectors in parallel. -StringIndex.QueryResults -query(float[] queryVector, +StringIndex.QueryResults +query(float[] queryVector, int numNeighbors, int ef) - + Find the nearest neighbors of the provided embedding. +void +resizeIndex(long newSize) + +Change the maximum number of elements currently storable by this Index. + void saveIndex(OutputStream indexOutputStream, OutputStream namesListOutputStream) @@ -302,18 +332,11 @@ load Parameters: indexFilename - Filename of the underlying HNSW index nameListFilename - Filename of the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -332,18 +355,11 @@ load Parameters: indexInputStream - input stream pointing to the underlying HNSW index nameListInputStream - input stream pointing to the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -443,6 +459,18 @@ addItems + +getNumElements +public long getNumElements() + + + + +getVector +public float[] getVector(String name) + + + query public StringIndex.QueryResults query(float[] queryVector, @@ -499,6 +527,31 @@ close + + +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: +newSize - The new number of maximum elements to resize this Index to. + + + + + +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: +The number of elements (vectors) that are currently storable in this Index. + + + 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 24cceeec..4c506014 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 b5c90abb..df899153 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 82680c41..fa8b31bc 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 2e142634..317b9272 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/Index.html +++ b/docs/java/com/spotify/voyager/jni/class-use/Index.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 717d5af2..b1a24b71 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 dcc602e9..18cacd43 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html +++ b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-summary.html b/docs/java/com/spotify/voyager/jni/package-summary.html index 61b9f616..ae4eae1f 100644 --- a/docs/java/com/spotify/voyager/jni/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/package-summary.html @@ -1,26 +1,21 @@ - + - -com.spotify.voyager.jni (voyager 2.0.7 API) + +com.spotify.voyager.jni (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -50,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-tree.html b/docs/java/com/spotify/voyager/jni/package-tree.html index c51f0b6f..e4f746b5 100644 --- a/docs/java/com/spotify/voyager/jni/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni + Package Hierarchies: - + All Packages - Class Hierarchy diff --git a/docs/java/com/spotify/voyager/jni/package-use.html b/docs/java/com/spotify/voyager/jni/package-use.html index a46349fe..e98e5367 100644 --- a/docs/java/com/spotify/voyager/jni/package-use.html +++ b/docs/java/com/spotify/voyager/jni/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html index b164e575..b2107cbc 100644 --- a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html +++ b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html @@ -1,26 +1,21 @@ - + - -JniLibExtractor (voyager 2.0.7 API) + +JniLibExtractor (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html index cf2260df..0b152ffd 100644 --- a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html +++ b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html @@ -1,26 +1,21 @@ - + - -TinyJson (voyager 2.0.7 API) + +TinyJson (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + @@ -108,7 +122,7 @@ Method Summary Modifier and Type Method Description -static List<String> +static List<String> readStringList(InputStream stream) static void 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 e69e288e..573cf49e 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 4d7362c1..413e69af 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 6ef05e99..4e94a0a6 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + 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 52d86e53..fb5afb1a 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni.utils + Package Hierarchies: - + All Packages - Class Hierarchy 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 655f67bd..7cd43ad3 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-use.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-summary.html b/docs/java/com/spotify/voyager/package-summary.html index e67fce57..e419037d 100644 --- a/docs/java/com/spotify/voyager/package-summary.html +++ b/docs/java/com/spotify/voyager/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager (voyager 2.0.7 API) + +com.spotify.voyager (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-tree.html b/docs/java/com/spotify/voyager/package-tree.html index cae542be..8bc9cff9 100644 --- a/docs/java/com/spotify/voyager/package-tree.html +++ b/docs/java/com/spotify/voyager/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager + Package Hierarchies: - + All Packages -
query(float[][] queryVectors, int numNeighbors, int numThreads, int ef)
StringIndex.QueryResults
query(float[] queryVector, +StringIndex.QueryResults +query(float[] queryVector, int numNeighbors, int ef) - + Find the nearest neighbors of the provided embedding. +void +resizeIndex(long newSize) + +Change the maximum number of elements currently storable by this Index. + void saveIndex(OutputStream indexOutputStream, OutputStream namesListOutputStream) @@ -302,18 +332,11 @@ load Parameters: indexFilename - Filename of the underlying HNSW index nameListFilename - Filename of the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -332,18 +355,11 @@ load Parameters: indexInputStream - input stream pointing to the underlying HNSW index nameListInputStream - input stream pointing to the JSON encoded names list -spaceType - +spaceType - @see com.spotify.voyager.jni.Index.SpaceType numDimensions - Number of dimensions of each embedding stored in the underlying HNSW index -storageDataType - +storageDataType - @see com.spotify.voyager.jni.Index.StorageDataType Returns: reference to the loaded StringIndex -See Also: - - -Index.SpaceType -Index.StorageDataType - - @@ -443,6 +459,18 @@ addItems + +getNumElements +public long getNumElements() + + + + +getVector +public float[] getVector(String name) + + + query public StringIndex.QueryResults query(float[] queryVector, @@ -499,6 +527,31 @@ close + + +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: +newSize - The new number of maximum elements to resize this Index to. + + + + + +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: +The number of elements (vectors) that are currently storable in this Index. + + + 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 24cceeec..4c506014 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 b5c90abb..df899153 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.SpaceType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 82680c41..fa8b31bc 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,16 +1,15 @@ - + - -Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.7 API) + +Uses of Enum com.spotify.voyager.jni.Index.StorageDataType (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 2e142634..317b9272 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/Index.html +++ b/docs/java/com/spotify/voyager/jni/class-use/Index.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.Index (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 717d5af2..b1a24b71 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex.QueryResults (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 dcc602e9..18cacd43 100644 --- a/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html +++ b/docs/java/com/spotify/voyager/jni/class-use/StringIndex.html @@ -1,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.StringIndex (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-summary.html b/docs/java/com/spotify/voyager/jni/package-summary.html index 61b9f616..ae4eae1f 100644 --- a/docs/java/com/spotify/voyager/jni/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/package-summary.html @@ -1,26 +1,21 @@ - + - -com.spotify.voyager.jni (voyager 2.0.7 API) + +com.spotify.voyager.jni (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -50,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/package-tree.html b/docs/java/com/spotify/voyager/jni/package-tree.html index c51f0b6f..e4f746b5 100644 --- a/docs/java/com/spotify/voyager/jni/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni + Package Hierarchies: - + All Packages - Class Hierarchy diff --git a/docs/java/com/spotify/voyager/jni/package-use.html b/docs/java/com/spotify/voyager/jni/package-use.html index a46349fe..e98e5367 100644 --- a/docs/java/com/spotify/voyager/jni/package-use.html +++ b/docs/java/com/spotify/voyager/jni/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html index b164e575..b2107cbc 100644 --- a/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html +++ b/docs/java/com/spotify/voyager/jni/utils/JniLibExtractor.html @@ -1,26 +1,21 @@ - + - -JniLibExtractor (voyager 2.0.7 API) + +JniLibExtractor (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html index cf2260df..0b152ffd 100644 --- a/docs/java/com/spotify/voyager/jni/utils/TinyJson.html +++ b/docs/java/com/spotify/voyager/jni/utils/TinyJson.html @@ -1,26 +1,21 @@ - + - -TinyJson (voyager 2.0.7 API) + +TinyJson (voyager 2.0.8 API) - + - - JavaScript is disabled on your browser. @@ -29,7 +24,7 @@ - + Skip navigation links Overview @@ -40,9 +35,28 @@ Index Help + + +Summary: + +Nested +Field +Constr +Method + + + +Detail: + +Field +Constr +Method + + + - + Summary: Nested | @@ -57,9 +71,9 @@ Method -SEARCH: - - +SEARCH + + @@ -108,7 +122,7 @@ Method Summary Modifier and Type Method Description -static List<String> +static List<String> readStringList(InputStream stream) static void 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 e69e288e..573cf49e 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.JniLibExtractor (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 4d7362c1..413e69af 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,16 +1,15 @@ - + - -Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.7 API) + +Uses of Class com.spotify.voyager.jni.utils.TinyJson (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + 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 6ef05e99..4e94a0a6 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-summary.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + 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 52d86e53..fb5afb1a 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-tree.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager.jni.utils Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager.jni.utils + Package Hierarchies: - + All Packages - Class Hierarchy 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 655f67bd..7cd43ad3 100644 --- a/docs/java/com/spotify/voyager/jni/utils/package-use.html +++ b/docs/java/com/spotify/voyager/jni/utils/package-use.html @@ -1,16 +1,15 @@ - + - -Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.7 API) + +Uses of Package com.spotify.voyager.jni.utils (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-summary.html b/docs/java/com/spotify/voyager/package-summary.html index e67fce57..e419037d 100644 --- a/docs/java/com/spotify/voyager/package-summary.html +++ b/docs/java/com/spotify/voyager/package-summary.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager (voyager 2.0.7 API) + +com.spotify.voyager (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -36,9 +35,19 @@ Index Help + + +Package: + +Description +Related Packages +Classes and Interfaces + + + - + Package: Description | @@ -46,9 +55,9 @@ Classes and Interfaces -SEARCH: - - +SEARCH + + diff --git a/docs/java/com/spotify/voyager/package-tree.html b/docs/java/com/spotify/voyager/package-tree.html index cae542be..8bc9cff9 100644 --- a/docs/java/com/spotify/voyager/package-tree.html +++ b/docs/java/com/spotify/voyager/package-tree.html @@ -1,16 +1,15 @@ - + - -com.spotify.voyager Class Hierarchy (voyager 2.0.7 API) + +com.spotify.voyager Class Hierarchy (voyager 2.0.8 API) - + - @@ -25,7 +24,7 @@ - + Skip navigation links Overview @@ -38,9 +37,10 @@ -SEARCH: - - + +SEARCH + + @@ -50,11 +50,11 @@ Hierarchy For Package com.spotify.voyager + Package Hierarchies: - + All Packages -
query(float[] queryVector, int numNeighbors, int ef)
resizeIndex(long newSize)
saveIndex(OutputStream indexOutputStream, OutputStream namesListOutputStream)
indexFilename
nameListFilename
spaceType
numDimensions
storageDataType
Index.SpaceType
Index.StorageDataType
indexInputStream
nameListInputStream
newSize
Package:
static List<String>
readStringList(InputStream stream)
static void