@Test @Ignore public void test() { ElasticConnection connection = ElasticConnection.getConnection("localhost", 9200, "http"); EsHttpSourceOperations esHttpSourceOperations = new EsHttpSourceOperations(connection, "demo-http_sources", "http_source"); PageableList<HttpSource> data = esHttpSourceOperations.filter(null); for (HttpSource source : data.getItems()) { System.out.println(">>" + source); } }
public PageableList<HttpSource> filter(String text) { return filter(text, 0); }
EsHttpSourceOperations extends BaseElasticOps { public PageableList<HttpSource> filter(String text) { return filter(text, 0); } }
EsHttpSourceOperations extends BaseElasticOps { public PageableList<HttpSource> filter(String text) { return filter(text, 0); } protected  EsHttpSourceOperations(ElasticConnection connection, String index, String type); }
EsHttpSourceOperations extends BaseElasticOps { public PageableList<HttpSource> filter(String text) { return filter(text, 0); } protected  EsHttpSourceOperations(ElasticConnection connection, String index, String type); static EsHttpSourceOperations getInstance(ElasticConnection connection, String index, String type); List<HttpSource> findEnabledSources(); HttpSource get(String url); PageableList<HttpSource> filter(String text); PageableList<HttpSource> filter(String text, int offset); List<HttpSource> all(); void save(HttpSource source); void delete(String url); void deleteAll(); }
EsHttpSourceOperations extends BaseElasticOps { public PageableList<HttpSource> filter(String text) { return filter(text, 0); } protected  EsHttpSourceOperations(ElasticConnection connection, String index, String type); static EsHttpSourceOperations getInstance(ElasticConnection connection, String index, String type); List<HttpSource> findEnabledSources(); HttpSource get(String url); PageableList<HttpSource> filter(String text); PageableList<HttpSource> filter(String text, int offset); List<HttpSource> all(); void save(HttpSource source); void delete(String url); void deleteAll();  }