PublisherSearchRepository.java 604 Bytes
package org.legrog.entities;

//import org.springframework.data.solr.repository.SolrCrudRepository;
//import org.springframework.data.solr.repository.Query;

import java.util.List;

public interface PublisherSearchRepository /*extends SolrCrudRepository<IndexedPublisher, Integer>*/ {
//    @Query("?0")
//    List<IndexedPublisher> search(String search);

    /*
        @param IndexedPublisher
        @return IndexedPublisher

        Indexe la version simplifiée de Publisher, IndexedPublisher.
     */
    public IndexedPublisher save(IndexedPublisher indexedPublisher) throws IndexingException;
}