|
@@ -6,7 +6,7 @@ import org.springframework.data.domain.Pageable;
|
|
|
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
|
|
|
|
|
|
/**
|
|
|
- * 商品ES操作类
|
|
|
+ * 搜索商品ES操作类
|
|
|
* Created by macro on 2018/6/19.
|
|
|
*/
|
|
|
public interface EsProductRepository extends ElasticsearchRepository<EsProduct, Long> {
|
|
@@ -17,7 +17,6 @@ public interface EsProductRepository extends ElasticsearchRepository<EsProduct,
|
|
|
* @param subTitle 商品标题
|
|
|
* @param keywords 商品关键字
|
|
|
* @param page 分页信息
|
|
|
- * @return
|
|
|
*/
|
|
|
Page<EsProduct> findByNameOrSubTitleOrKeywords(String name, String subTitle, String keywords,Pageable page);
|
|
|
|