package io.delphiplatform.api.v3.search.repository;

import org.springframework.data.elasticsearch.core.SearchHits;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;

import java.util.List;

import io.delphiplatform.api.v3.search.entity.ArtistDocumentEntity;

public interface ArtistDocumentRepository extends ElasticsearchRepository<ArtistDocumentEntity, String> {

    List<ArtistDocumentEntity> findAllByFullName(String fullName);

    SearchHits<ArtistDocumentEntity> searchAllByFullName(String fullName);

}
