package com.dbnt.kcscopensearch.opensearch.docSearch.repository;

import com.dbnt.kcscopensearch.opensearch.docSearch.model.DocIndex;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DocIndexRepository extends ElasticsearchRepository<DocIndex, Integer> {

  List<DocIndex> findByGroupTitleContains(String text, Pageable pageable);
}
