资源简介
Elasticsearch5.5.1 JAVA客户端TransportClient相关的示例,包含CRUD,bulk,相关介绍请参考:http://blog.csdn.net/u011781521/article/details/77848489

代码片段和文件信息
package com.fendo.temp;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.StringReader;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ExecutionException;
import org.elasticsearch.action.get.GetResponse;
import org.elasticsearch.action.get.MultiGetItemResponse;
import org.elasticsearch.action.get.MultiGetResponse;
import org.elasticsearch.index.query.MatchQueryBuilder;
import org.elasticsearch.action.ActionFuture;
import org.elasticsearch.action.admin.indices.analyze.AnalyzeRequest;
import org.elasticsearch.action.admin.indices.analyze.AnalyzeResponse;
import org.elasticsearch.script.script;
import org.elasticsearch.script.scriptType;
import org.elasticsearch.index.query.MultiMatchQueryBuilder;
import org.elasticsearch.index.query.MatchPhrasePrefixQueryBuilder;
import org.elasticsearch.index.query.MatchPhraseQueryBuilder;
import org.elasticsearch.action.search.MultiSearchResponse;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.search.join.ScoreMode;
import org.elasticsearch.action.admin.indices.create.CreateIndexRequestBuilder;
import org.elasticsearch.action.admin.indices.create.CreateIndexResponse;
import org.elasticsearch.action.admin.indices.delete.DeleteIndexResponse;
import org.elasticsearch.action.admin.indices.exists.indices.IndicesExistsRequest;
import org.elasticsearch.action.admin.indices.exists.indices.IndicesExistsResponse;
import org.elasticsearch.action.bulk.BulkRequestBuilder;
import org.elasticsearch.action.bulk.BulkResponse;
import org.elasticsearch.action.delete.DeleteResponse;
import org.elasticsearch.action.index.IndexRequest;
import org.elasticsearch.action.index.IndexRequestBuilder;
import org.elasticsearch.action.index.IndexResponse;
import org.elasticsearch.action.search.SearchRequestBuilder;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.action.search.SearchType;
import org.elasticsearch.action.update.UpdateRequest;
import org.elasticsearch.action.update.UpdateResponse;
import org.elasticsearch.client.Response;
import org.elasticsearch.client.transport.TransportClient;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.transport.InetSocketTransportAddress;
import org.elasticsearch.common.unit.Fuzziness;
import org.elasticsearch.common.unit.TimeValue;
import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsearch.common.xcontent.XContentFactory;
import org.elasticsearch.index.que
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-09-04 21:32 TransportClient\
文件 1393 2017-09-04 20:12 TransportClient\.classpath
文件 1091 2017-08-31 09:50 TransportClient\.project
目录 0 2017-09-04 20:13 TransportClient\.settings\
文件 572 2017-08-30 13:33 TransportClient\.settings\.jsdtscope
文件 57 2017-09-04 20:13 TransportClient\.settings\org.eclipse.core.resources.prefs
文件 736 2017-08-31 09:50 TransportClient\.settings\org.eclipse.jdt.core.prefs
文件 142 2017-09-04 20:12 TransportClient\.settings\org.eclipse.m2e.core.prefs
文件 686 2017-08-30 13:33 TransportClient\.settings\org.eclipse.wst.common.component
文件 252 2017-08-30 13:33 TransportClient\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2017-08-30 13:33 TransportClient\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2017-08-30 13:33 TransportClient\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 1410 2017-09-04 21:32 TransportClient\article
目录 0 2017-08-31 14:52 TransportClient\logs\
文件 22014 2017-09-04 22:41 TransportClient\logs\test.log
文件 7532 2017-09-04 20:26 TransportClient\pom.xm
目录 0 2017-08-31 14:52 TransportClient\src\
目录 0 2017-08-31 14:52 TransportClient\src\main\
目录 0 2017-08-31 14:52 TransportClient\src\main\java\
目录 0 2017-08-31 14:52 TransportClient\src\main\java\com\
目录 0 2017-08-31 14:52 TransportClient\src\main\java\com\fendo\
目录 0 2017-08-31 14:52 TransportClient\src\main\java\com\fendo\temp\
文件 58724 2017-09-05 10:40 TransportClient\src\main\java\com\fendo\temp\TransportClientTest.java
目录 0 2017-08-31 14:52 TransportClient\src\main\resources\
文件 8141 2017-09-04 21:04 TransportClient\src\main\resources\bulk.txt
文件 742 2017-08-22 20:43 TransportClient\src\main\resources\log4j2.xm
目录 0 2017-08-31 14:52 TransportClient\src\main\webapp\
文件 57 2017-08-30 13:31 TransportClient\src\main\webapp\index.jsp
目录 0 2017-08-31 14:52 TransportClient\src\main\webapp\me
文件 39 2017-08-30 13:33 TransportClient\src\main\webapp\me
目录 0 2017-08-31 14:52 TransportClient\src\main\webapp\WEB-INF\
............此处省略14个文件信息
- 上一篇:java-client-5.0.4.jar
- 下一篇:基于rxtx的java串口通信
相关资源
- Java 文件加密传输
- java access 仓库管理系统 源码
- DES(CFB) JAVA
- 超级好的纯jsp写的聊天室
- java多人五子棋源码
- jsp 统计在线人数利用HttpSessionListene
- Advanced Design and Implementation of Virtual
- jersey1.18 jar包
- C#和Java实现互通的RSADES加解密算法
-
JAVA代码注释规范codetemplates.xm
l - Data Structures and Algorithm Analysis in Java
- SU5×T13纹理中的三重最大混合
- android-support-design.jar(24.0.0版本)
- charles 3.10.2破解文件
- Notes.jar NCSO.jar Domino
- rest项目所需的jar包
- Android-AccessibilityService无障碍服务库一
- JS实现AES-GCM加密,java实现AES-GCM解密。
- moco-runner-0.12.0-sources.jar
- pdf-chinese.zip
- DES加密解密算法论文
- JAVA+access综合测评系统毕业设计(源代
- TestAR安装包
- 全世界最经典的数据结构教材,Horo
- design-pattern-java-刘伟.pdf
- 一个仿当当的网上商城 Eshop System 前台
- UVPaint (Skinned Mesh Decal System) 1.84e.
- 小型图书管理系统java+access
- java 超级简易java图书管理系统源码
- charles 4.1.3破解替换文件
评论
共有 条评论