-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement index load with no explicit params in Java (#31)
* implement load methods without params * tests, docs * add StringIndex convenience methods, add tests, regen docs * clang-fmt * java fmt * Update java/com_spotify_voyager_jni_Index.cpp Co-authored-by: Peter Sobot <[email protected]> * Update java/com_spotify_voyager_jni_Index.cpp Co-authored-by: Peter Sobot <[email protected]> --------- Co-authored-by: Peter Sobot <[email protected]>
- Loading branch information
1 parent
68ad1d3
commit 5467a1d
Showing
46 changed files
with
4,065 additions
and
7,604 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,216 +1,108 @@ | ||
<!DOCTYPE HTML> | ||
<!-- NewPage --> | ||
<html lang="en"> | ||
<head> | ||
<!-- Generated by javadoc (11.0.16.1) on Tue Oct 17 14:55:31 EDT 2023 --> | ||
<title>All Classes (voyager 2.0.1 API)</title> | ||
<!-- Generated by javadoc (17) on Tue Oct 17 17:00:29 EDT 2023 --> | ||
<title>All Classes and Interfaces (voyager 2.0.1 API)</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<meta name="dc.created" content="2023-10-17"> | ||
<meta name="description" content="class index"> | ||
<meta name="generator" content="javadoc/AllClassesIndexWriter"> | ||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> | ||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style"> | ||
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style"> | ||
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style"> | ||
<script type="text/javascript" src="script.js"></script> | ||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script> | ||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script> | ||
<!--[if IE]> | ||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> | ||
<![endif]--> | ||
<script type="text/javascript" src="jquery/jquery-3.5.1.js"></script> | ||
<script type="text/javascript" src="jquery/jquery-ui.js"></script> | ||
<script type="text/javascript" src="script-dir/jquery-3.5.1.min.js"></script> | ||
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script> | ||
</head> | ||
<body> | ||
<script type="text/javascript"><!-- | ||
try { | ||
if (location.href.indexOf('is-external=true') == -1) { | ||
parent.document.title="All Classes (voyager 2.0.1 API)"; | ||
} | ||
} | ||
catch(err) { | ||
} | ||
//--> | ||
var data = {"i0":2,"i1":2,"i2":4,"i3":4,"i4":2,"i5":2,"i6":2,"i7":2}; | ||
var tabs = {65535:["t0","All Classes"],2:["t2","Class Summary"],4:["t3","Enum Summary"]}; | ||
var altColor = "altColor"; | ||
var rowColor = "rowColor"; | ||
var tableTab = "tableTab"; | ||
var activeTableTab = "activeTableTab"; | ||
<body class="all-classes-index-page"> | ||
<script type="text/javascript">var evenRowColor = "even-row-color"; | ||
var oddRowColor = "odd-row-color"; | ||
var tableTab = "table-tab"; | ||
var activeTableTab = "active-table-tab"; | ||
var pathtoroot = "./"; | ||
var useModuleDirectories = true; | ||
loadScripts(document, 'script');</script> | ||
<noscript> | ||
<div>JavaScript is disabled on your browser.</div> | ||
</noscript> | ||
<header role="banner"> | ||
<div class="flex-box"> | ||
<header role="banner" class="flex-header"> | ||
<nav role="navigation"> | ||
<div class="fixedNav"> | ||
<!-- ========= START OF TOP NAVBAR ======= --> | ||
<div class="topNav"><a id="navbar.top"> | ||
<!-- --> | ||
</a> | ||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> | ||
<a id="navbar.top.firstrow"> | ||
<!-- --> | ||
</a> | ||
<ul class="navList" title="Navigation"> | ||
<div class="top-nav" id="navbar-top"> | ||
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> | ||
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> | ||
<li><a href="index.html">Overview</a></li> | ||
<li>Package</li> | ||
<li>Class</li> | ||
<li>Use</li> | ||
<li><a href="overview-tree.html">Tree</a></li> | ||
<li><a href="deprecated-list.html">Deprecated</a></li> | ||
<li><a href="index-all.html">Index</a></li> | ||
<li><a href="help-doc.html">Help</a></li> | ||
<li><a href="help-doc.html#all-classes">Help</a></li> | ||
</ul> | ||
</div> | ||
<div class="subNav"> | ||
<ul class="navList" id="allclasses_navbar_top"> | ||
<li><a href="allclasses.html">All Classes</a></li> | ||
</ul> | ||
<ul class="navListSearch"> | ||
<li><label for="search">SEARCH:</label> | ||
<input type="text" id="search" value="search" disabled="disabled"> | ||
<input type="reset" id="reset" value="reset" disabled="disabled"> | ||
</li> | ||
</ul> | ||
<div> | ||
<script type="text/javascript"><!-- | ||
allClassesLink = document.getElementById("allclasses_navbar_top"); | ||
if(window==top) { | ||
allClassesLink.style.display = "block"; | ||
} | ||
else { | ||
allClassesLink.style.display = "none"; | ||
} | ||
//--> | ||
</script> | ||
<noscript> | ||
<div>JavaScript is disabled on your browser.</div> | ||
</noscript> | ||
<div class="sub-nav"> | ||
<div class="nav-list-search"><label for="search-input">SEARCH:</label> | ||
<input type="text" id="search-input" value="search" disabled="disabled"> | ||
<input type="reset" id="reset-button" value="reset" disabled="disabled"> | ||
</div> | ||
<a id="skip.navbar.top"> | ||
<!-- --> | ||
</a></div> | ||
<!-- ========= END OF TOP NAVBAR ========= --> | ||
</div> | ||
<div class="navPadding"> </div> | ||
<script type="text/javascript"><!-- | ||
$('.navPadding').css('padding-top', $('.fixedNav').css("height")); | ||
//--> | ||
</script> | ||
</nav> | ||
<!-- ========= END OF TOP NAVBAR ========= --> | ||
<span class="skip-nav" id="skip-navbar-top"></span></nav> | ||
</header> | ||
<div class="flex-content"> | ||
<main role="main"> | ||
<div class="header"> | ||
<h1 title="All&nbsp;Classes" class="title">All Classes</h1> | ||
</div> | ||
<div class="allClassesContainer"> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<table class="typeSummary"> | ||
<caption><span id="t0" class="activeTableTab"><span>All Classes</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Class Summary</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Enum Summary</a></span><span class="tabEnd"> </span></span></caption> | ||
<tr> | ||
<th class="colFirst" scope="col">Class</th> | ||
<th class="colLast" scope="col">Description</th> | ||
</tr> | ||
<tr id="i0" class="altColor"> | ||
<td class="colFirst"><a href="com/spotify/voyager/jni/Index.html" title="class in com.spotify.voyager.jni">Index</a></td> | ||
<th class="colLast" scope="row"> | ||
<h1 title="All Classes and Interfaces" class="title">All Classes and Interfaces</h1> | ||
</div> | ||
<div id="all-classes-table"> | ||
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="all-classes-table-tab0" role="tab" aria-selected="true" aria-controls="all-classes-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table', 2)" class="active-table-tab">All Classes and Interfaces</button><button id="all-classes-table-tab2" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab2', 2)" class="table-tab">Classes</button><button id="all-classes-table-tab3" role="tab" aria-selected="false" aria-controls="all-classes-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('all-classes-table', 'all-classes-table-tab3', 2)" class="table-tab">Enums</button></div> | ||
<div id="all-classes-table.tabpanel" role="tabpanel"> | ||
<div class="summary-table two-column-summary" aria-labelledby="all-classes-table-tab0"> | ||
<div class="table-header col-first">Class</div> | ||
<div class="table-header col-last">Description</div> | ||
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com/spotify/voyager/jni/Index.html" title="class in com.spotify.voyager.jni">Index</a></div> | ||
<div class="col-last even-row-color all-classes-table all-classes-table-tab2"> | ||
<div class="block">A Voyager index, providing storage of floating-point vectors and the ability to efficiently | ||
search among those vectors.</div> | ||
</th> | ||
</tr> | ||
<tr id="i1" class="rowColor"> | ||
<td class="colFirst"><a href="com/spotify/voyager/jni/Index.QueryResults.html" title="class in com.spotify.voyager.jni">Index.QueryResults</a></td> | ||
<th class="colLast" scope="row"> | ||
</div> | ||
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="com/spotify/voyager/jni/Index.QueryResults.html" title="class in com.spotify.voyager.jni">Index.QueryResults</a></div> | ||
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2"> | ||
<div class="block">A container for query results, returned by Index.</div> | ||
</th> | ||
</tr> | ||
<tr id="i2" class="altColor"> | ||
<td class="colFirst"><a href="com/spotify/voyager/jni/Index.SpaceType.html" title="enum in com.spotify.voyager.jni">Index.SpaceType</a></td> | ||
<th class="colLast" scope="row"> | ||
</div> | ||
<div class="col-first even-row-color all-classes-table all-classes-table-tab3"><a href="com/spotify/voyager/jni/Index.SpaceType.html" title="enum in com.spotify.voyager.jni">Index.SpaceType</a></div> | ||
<div class="col-last even-row-color all-classes-table all-classes-table-tab3"> | ||
<div class="block">The space, also known as distance metric, to use when searching.</div> | ||
</th> | ||
</tr> | ||
<tr id="i3" class="rowColor"> | ||
<td class="colFirst"><a href="com/spotify/voyager/jni/Index.StorageDataType.html" title="enum in com.spotify.voyager.jni">Index.StorageDataType</a></td> | ||
<th class="colLast" scope="row"> | ||
</div> | ||
<div class="col-first odd-row-color all-classes-table all-classes-table-tab3"><a href="com/spotify/voyager/jni/Index.StorageDataType.html" title="enum in com.spotify.voyager.jni">Index.StorageDataType</a></div> | ||
<div class="col-last odd-row-color all-classes-table all-classes-table-tab3"> | ||
<div class="block">The datatype used to use when storing vectors on disk.</div> | ||
</th> | ||
</tr> | ||
<tr id="i4" class="altColor"> | ||
<td class="colFirst"><a href="com/spotify/voyager/jni/utils/JniLibExtractor.html" title="class in com.spotify.voyager.jni.utils">JniLibExtractor</a></td> | ||
<th class="colLast" scope="row"> </th> | ||
</tr> | ||
<tr id="i5" class="rowColor"> | ||
<td class="colFirst"><a href="com/spotify/voyager/jni/StringIndex.html" title="class in com.spotify.voyager.jni">StringIndex</a></td> | ||
<th class="colLast" scope="row"> | ||
</div> | ||
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com/spotify/voyager/jni/utils/JniLibExtractor.html" title="class in com.spotify.voyager.jni.utils">JniLibExtractor</a></div> | ||
<div class="col-last even-row-color all-classes-table all-classes-table-tab2"> </div> | ||
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="com/spotify/voyager/jni/StringIndex.html" title="class in com.spotify.voyager.jni">StringIndex</a></div> | ||
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2"> | ||
<div class="block">Wrapper around com.spotify.voyager.jni.Index with a simplified interface which maps the index ID | ||
to a provided String.</div> | ||
</th> | ||
</tr> | ||
<tr id="i6" class="altColor"> | ||
<td class="colFirst"><a href="com/spotify/voyager/jni/StringIndex.QueryResults.html" title="class in com.spotify.voyager.jni">StringIndex.QueryResults</a></td> | ||
<th class="colLast" scope="row"> | ||
</div> | ||
<div class="col-first even-row-color all-classes-table all-classes-table-tab2"><a href="com/spotify/voyager/jni/StringIndex.QueryResults.html" title="class in com.spotify.voyager.jni">StringIndex.QueryResults</a></div> | ||
<div class="col-last even-row-color all-classes-table all-classes-table-tab2"> | ||
<div class="block">A wrapper class for nearest neighbor query results.</div> | ||
</th> | ||
</tr> | ||
<tr id="i7" class="rowColor"> | ||
<td class="colFirst"><a href="com/spotify/voyager/jni/utils/TinyJson.html" title="class in com.spotify.voyager.jni.utils">TinyJson</a></td> | ||
<th class="colLast" scope="row"> | ||
</div> | ||
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="com/spotify/voyager/jni/utils/TinyJson.html" title="class in com.spotify.voyager.jni.utils">TinyJson</a></div> | ||
<div class="col-last odd-row-color all-classes-table all-classes-table-tab2"> | ||
<div class="block">A dependency-free, super tiny JSON serde class that only supports reading and writing lists of | ||
strings.</div> | ||
</th> | ||
</tr> | ||
</table> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
<footer role="contentinfo"> | ||
<nav role="navigation"> | ||
<!-- ======= START OF BOTTOM NAVBAR ====== --> | ||
<div class="bottomNav"><a id="navbar.bottom"> | ||
<!-- --> | ||
</a> | ||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> | ||
<a id="navbar.bottom.firstrow"> | ||
<!-- --> | ||
</a> | ||
<ul class="navList" title="Navigation"> | ||
<li><a href="index.html">Overview</a></li> | ||
<li>Package</li> | ||
<li>Class</li> | ||
<li>Use</li> | ||
<li><a href="overview-tree.html">Tree</a></li> | ||
<li><a href="deprecated-list.html">Deprecated</a></li> | ||
<li><a href="index-all.html">Index</a></li> | ||
<li><a href="help-doc.html">Help</a></li> | ||
</ul> | ||
<hr> | ||
<p class="legal-copy"><small>Copyright © 2023. All rights reserved.</small></p> | ||
</footer> | ||
</div> | ||
<div class="subNav"> | ||
<ul class="navList" id="allclasses_navbar_bottom"> | ||
<li><a href="allclasses.html">All Classes</a></li> | ||
</ul> | ||
<div> | ||
<script type="text/javascript"><!-- | ||
allClassesLink = document.getElementById("allclasses_navbar_bottom"); | ||
if(window==top) { | ||
allClassesLink.style.display = "block"; | ||
} | ||
else { | ||
allClassesLink.style.display = "none"; | ||
} | ||
//--> | ||
</script> | ||
<noscript> | ||
<div>JavaScript is disabled on your browser.</div> | ||
</noscript> | ||
</div> | ||
<a id="skip.navbar.bottom"> | ||
<!-- --> | ||
</a></div> | ||
<!-- ======== END OF BOTTOM NAVBAR ======= --> | ||
</nav> | ||
<p class="legalCopy"><small>Copyright © 2023. All rights reserved.</small></p> | ||
</footer> | ||
</body> | ||
</html> |
Oops, something went wrong.