我是ElasticsearchTemplate的新手。我想根據我的查詢從Elasticsearch獲取1000個文檔。 我已經使用QueryBuilder創建我的查詢,並且它工作正常。 我已經通過以下鏈接,其中指出可以使用掃描和滾動來實現大數據集。 link one link two 我想實現在下面的代碼段這個功能,我有一份來自鏈路的一個貼,上面提到的。 但我收到以下錯誤: The type Re
我正在使用版本1.5.6.RELEASE和spring-boot-starter-data-elasticsearch的應用程序相同的版本。 我有一個模型Greeting像: @Document(indexName = "index", type = "greetings")
public class Greeting implements Serializable{
@Id
我最近將一個項目從Spring 4.3.1升級到了4.3.4,以前用什麼工作都很好,現在只是不適合我。 我使用JPA,其中包含了一系列的倉庫類: /**
* Spring Data JPA repository for the DrugQualityCategory entity.
*/
public interface DrugQualityCategoryRepository exte