摘要: 1、查询index1中content字段包含工厂的文档 @Test public void testMatch() throws IOException, InterruptedException, ExecutionException { //指定集群 Settings settings = Se 阅读全文
posted @ 2019-12-22 23:55 雷雨客 阅读(636) 评论(0) 推荐(0)
摘要: 1、删除index1中,title包含工厂的文档 @Test public void testQueryDelete() throws IOException, InterruptedException, ExecutionException { //指定集群 Settings settings = 阅读全文
posted @ 2019-12-22 23:41 雷雨客 阅读(956) 评论(0) 推荐(0)
摘要: 1、查询索引是index1,类型是blog,id是8、10和索引是lib3,类型是user,id是1、2、3的文档 @Test public void testMultiGet() throws IOException, InterruptedException, ExecutionExceptio 阅读全文
posted @ 2019-12-22 23:36 雷雨客 阅读(972) 评论(0) 推荐(0)