forked from valkey-io/valkey-glide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e599742
commit 9e3ce53
Showing
7 changed files
with
338 additions
and
0 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
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
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
26 changes: 26 additions & 0 deletions
26
java/client/src/main/java/glide/api/commands/VectorSearchBaseCommands.java
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0 */ | ||
package glide.api.commands; | ||
|
||
import glide.api.models.commands.vss.FTCreateOptions.FieldInfo; | ||
import glide.api.models.commands.vss.FTCreateOptions.IndexType; | ||
import java.util.concurrent.CompletableFuture; | ||
|
||
public interface VectorSearchBaseCommands { | ||
// TODO GlideString??? | ||
/** | ||
* Creates an index and initiates a backfill of that index. | ||
* | ||
* @see TODO | ||
* @param indexName Key name where index is stored. | ||
* @param indexType The index type. | ||
* @param prefixes (Optional) A list of prefixes of index definitions | ||
* @param fields Fields to populate into the index. | ||
* @return <code>OK</code>. | ||
* @example | ||
* <pre>{@code | ||
* // TODO | ||
* }</pre> | ||
*/ | ||
CompletableFuture<String> ftcreate( | ||
String indexName, IndexType indexType, String[] prefixes, FieldInfo[] fields); | ||
} |
Oops, something went wrong.