
com.redislabs.lettusearch.search.api.sync.SearchCommands Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lettusearch Show documentation
Show all versions of lettusearch Show documentation
Java client for RediSearch based on Lettuce
package com.redislabs.lettusearch.search.api.sync;
import java.util.Map;
import com.redislabs.lettusearch.search.AddOptions;
import com.redislabs.lettusearch.search.DropOptions;
import com.redislabs.lettusearch.search.Schema;
import com.redislabs.lettusearch.search.SearchOptions;
import com.redislabs.lettusearch.search.SearchResults;
import io.lettuce.core.api.sync.RedisCommands;
/**
* Synchronously executed commands for search.
*
* @param Key type.
* @param Value type.
* @author Julien Ruaux
*/
public interface SearchCommands extends RedisCommands {
String create(String index, Schema schema);
String drop(String index, DropOptions options);
String add(String index, K docId, double score, Map fields, AddOptions document);
SearchResults search(String index, String query, SearchOptions options);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy