1. ElasticsearchCli外部库文件路径为:安装目录\ esProc\extlib\ ElasticsearchCli;润乾外部库核心jar为scu-elasticsearch-cli-2.10.jar。
aggs-matrix-stats-client-7.13.2.jar
commons-beanutils-1.9.3.jar
commons-lang-2.6.jar
elasticsearch-7.13.2.jar
elasticsearch-cli-7.13.2.jar
elasticsearch-core-7.13.2.jar
elasticsearch-geo-7.13.2.jar
elasticsearch-launchers-7.13.2.jar
elasticsearch-nio-7.13.2.jar
elasticsearch-plugin-classloader-7.13.2.jar
elasticsearch-rest-client-7.13.2.jar
elasticsearch-rest-high-level-client-7.13.2.jar
elasticsearch-secure-sm-7.13.2.jar
elasticsearch-ssl-config-7.13.2.jar
elasticsearch-x-content-7.13.2.jar
ezmorph-1.0.2.jar
fastcsv-2.2.0.jar
HdrHistogram-2.1.9.jar
hppc-0.8.1.jar
httpasyncclient-4.1.4.jar
httpcore-nio-4.4.12.jar
jackson-core-2.10.4.jar
jackson-dataformat-cbor-2.10.4.jar
jackson-dataformat-smile-2.10.4.jar
jackson-dataformat-yaml-2.10.4.jar
java-version-checker-7.13.2.jar
jna-5.7.0-1.jar
joda-time-2.10.10.jar
jopt-simple-5.0.2.jar
json-lib-1.1-jdk13.jar
jts-core-1.15.0.jar
lang-mustache-client-7.13.2.jar
LIST.TXT
log4j-1.2-api-2.15.0.jar
log4j-api-2.15.0.jar
log4j-core-2.15.0.jar
lucene-analyzers-common-8.8.2.jar
lucene-backward-codecs-8.8.2.jar
lucene-core-8.8.2.jar
lucene-grouping-8.8.2.jar
lucene-highlighter-8.8.2.jar
lucene-join-8.8.2.jar
lucene-memory-8.8.2.jar
lucene-misc-8.8.2.jar
lucene-queries-8.8.2.jar
lucene-queryparser-8.8.2.jar
lucene-sandbox-8.8.2.jar
lucene-spatial-extras-8.8.2.jar
lucene-spatial3d-8.8.2.jar
lucene-suggest-8.8.2.jar
mapper-extras-client-7.13.2.jar
netty-buffer-4.1.49.Final.jar
netty-codec-4.1.49.Final.jar
netty-codec-http-4.1.49.Final.jar
netty-common-4.1.49.Final.jar
netty-handler-4.1.49.Final.jar
netty-resolver-4.1.49.Final.jar
netty-transport-4.1.49.Final.jar
parent-join-client-7.13.2.jar
rank-eval-client-7.13.2.jar
snakeyaml-1.26.jar
spatial4j-0.7.jar
t-digest-3.2.jar
transport-netty4-client-7.13.2.jar
transport-nio-client-7.13.2.jar
unboundid-ldapsdk-4.0.8.jar
x-pack-core-7.13.2.jar
注:以上第三方依赖jar,外部库压缩包中默认已放置,用户可根据实际应用环境灵活使用。
2. java环境要求为jre1.7及以上版本,若集算器自带的jre版本不满足版本要求,则需要用户自己安装高版本jre,并在安装目录\ esProc\bin\config.txt文件中配置java_home,否则此步可以省略。
3. 当占用内存比较大时,用户可自己调整内存。Windows环境使用.exe启动时在config.txt里修改;使用.bat启动时在.bat文件中修改。Linux环境则是在.sh文件中修改。
以windows环境下修改config.txt为例:
java_home=C:\ProgramFiles\Java\jdk1.7.0_11;esproc_port=48773;btx_port=41735;gtm_port=41737;jvm_args=-Xms256m-XX:PermSize=256M-XX:MaxPermSize=512M-Xmx9783m-Duser.language=zh
4. 访问ElasticSearch系统可使用的外部库函数有es_close()、es_delete()、es_export()、es_head()、es_open()、es_get()、es_post()、es_put()。函数用法请参考【帮助】-【函数参考】。