All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netgrif.application.engine.elastic.service.interfaces.IElasticIndexService Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.elastic.service.interfaces;

import org.springframework.data.elasticsearch.core.SearchHits;
import org.springframework.data.elasticsearch.core.SearchScrollHits;
import org.springframework.data.elasticsearch.core.query.Query;

import java.util.List;

public interface IElasticIndexService {

    boolean indexExists(String indexName);

    boolean createIndex(Class clazz, String... placeholders);

    boolean deleteIndex(Class clazz, String... placeholders);

    boolean closeIndex(Class clazz, String... placeholders);

    boolean openIndex(Class clazz, String... placeholders);

    boolean putMapping(Class clazz, String... placeholders);

    boolean putTemplate(String name, String source);

     String index(Class clazz, T source, String... placeholders);

    boolean bulkIndex(List list, Class clazz, String... placeholders);

    SearchScrollHits scrollFirst(Query query, Class clazz, String... placeholders);

    SearchScrollHits scroll(String scrollId, Class clazz, String... placeholders);

    SearchHits search(Query query, Class clazz, String... placeholders);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy