gaojingsong的博客 -凯发k8国际

`
gaojingsong
  • 浏览: 1124910 次
  • 性别:
  • 来自: 深圳
博主相关
  • 博客
  • 微博
  • 相册
  • 收藏
  • 文章分类
    社区版块
    • ( 4)
    • ( 0)
    • ( 80)
    存档分类
    最新评论
    文章列表
    lucene is an open source, mature and high-performance java search engine. it is highly flexible, and scalable from hundreds to millions of documents.luke is a handy development and diagnostic tool, which accesses already existing lucene indexes and allows you to display and modify their content in s ...
    实现mysql与elasticsearch的数据同步 jdbc importer for elasticsearch the java database connection (jdbc) importer allows to fetch data from jdbc sources for indexing into elasticsearch. the jdbc importer was designed for tabular data. if you have tables with many joins, the jdbc importer is limited in the ...
    一、elasticsearch建立索引操作的api,基于curl 1)设置主备分片数量 curl -xput 'http://192.168.1.105:9200/twitter1' -d '{   "settings":{       "number_of_shards":3,       "number_of_replicas":0   } }'   2)创建mapping文件 curl -xput 'http://192.168.1.105:9200/twitter1/people/_mapping' -d ...
    提交之前  提交之后  数据查看   es批量提交代码如下: import java.util.arraylist; import java.util.iterator; import java.util.list; import org.apache.http.httpentity; import org.apache.http.httpresponse; import org.apache.http.client.methods.httppost; import org.apache.http.entity.stringentity; import org.apa ...
    永久链接: http://gaojingsong.iteye.com/blog/2359013 预览文章: 【elasticsearch-5x安装步骤(一)】 永久链接: http://gaojingsong.iteye.com/blog/2359103 预览文章: 【elasticsearch-5x安装步骤(二)】  永久链接: http://gaojingsong.iteye.com/blog/2359174 预览文章: 【elasticsearch-5x安装sql插件(三)】 安装步骤 [hadoop@node1 es5.0]$ unzip elasticsea ...
    永久链接: http://gaojingsong.iteye.com/blog/2359013 预览文章: 【elasticsearch-5x安装步骤(一)】 永久链接: http://gaojingsong.iteye.com/blog/2359103 预览文章: 【elasticsearch-5x安装步骤(二)】  永久链接: http://gaojingsong.iteye.com/blog/2359332 预览文章: 【elasticsearch-5x安装head插件(四)】 [root@node1 bin]# java -version java versi ...
        error: bootstrap checks failed max file descriptors [1024] for elasticsearch process is too low, increase to at least [65536] 处理方案 [root@node1 ~]# vi /etc/security/limits.conf # /etc/security/limits.conf hadoop  soft nofile 65536 hadoop  hard nofile 65536 [root@node1 ~]# sysctl -p [had ...
    材料准备  https://github.com/nlpchina/elasticsearch-sql/releases/download/5.1.2.0/elasticsearch-sql-5.1.2.0.zip https://github.com/mobz/elasticsearch-head/tree/master https://github.com/mobz/elasticsearch-head/archive/master.zip   [root@node1 ~]# cd /opt [root@node1 opt]# ls -l total 13116 drwx ...
    一、es5.0版本号跳跃原因 elk吧,是elasticsearch、logstash、kibana三个产品的首字母缩写,现在elastic又新增了一个新的开源项目成员:beats。由于现在的版本比较混乱,每个产品的版本号都不一样,elasticsearch和logstash目前是2.3.4;kibana ...
    elasticsearch的config文件夹里面有两个配置文 件:elasticsearch.yml和logging.yml,第一个是es的基本配置文件,第二个是日志配置文件, elasticsearch.yml参数如下:   cluster.name: elasticsearch 配置es的集群名称,默认是elasticsearch,es会自动发现在同一网段下的es,如果在同一网段下有多个集群,就可以用这个属性来区分不同的集群。   node.name: "franz kafka" 节点名,默认随机指定一个name列表中名字,该列表在es的jar包中con ...
    elasticsearch之添加记录操作,核心代码如下:      public static void main(string[] args) throws exception {                string url ="http://192.168.1.111:9200/";                //一、添加单个记录                 uservo user = new uservo("庞涓", "地址不详", 1.3, true,39, "2012-09-08&quo ...
      elasticsearch之创建mapping--字段类型映射,以及别名     package estest.cn.com.esdemo;   import net.sf.json.jsonobject;   import org.apache.http.httpentity; import org.apache.http.httpresponse; import org.apache.http.client.methods.httppost; import org.apache.http.entity.stringentity; import org.apac ...
    elasticsearch-sql.就是通过sql语句去操作es集群.就是将sql语句给转成了es的查询语法.感觉非常好用.这里分享一下安装过程,注意:插件在国内被和谐了。需要想办法下载,附件给出2.1.1版本的sql插件供下载。   一、查看安装手册 [root@node1 bin]# ./plugin error: command not specified name     plugin - manages plugins synopsis     plugin description     manage plugins comman ...
    elasticsearch是一个基于lucene的搜索服务器。它提供了一个分布式多用户能力的全文搜索引擎,基于restful web接口。elasticsearch是用java开发的,并作为apache许可条款下的开放源码发布,是第二最流行的企业搜索引擎。设计用于云计算中,能够达到实时搜索,稳定,可靠,快速,安装使用方便。   cluster 代表一个集群,集群中有多个节点,其中有一个为主节点,这个主节点是可以通过选举产生的,主从节点是对于集群内部来说的。es的一个概念就是去中心化,字面上理解就是无中心节点,这是对于集群外部来说的,因为从外部来看es集群,在逻辑上是个整体,你与任何一个节 ...
    #安装elasticsearch head插件[root@node1 bin]# ./plugin install mobz/elasticsearch-head-> installing mobz/elasticsearch-head...trying https://github.com/mobz/elasticsearch-head/archive/master.zip ...downloading ........................................................................................... ...
    1、下载 [root@node1 ~]# wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.1.1/2.1.1.tar.gz --13:05:54--  https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.1.1/elasticsearch-2.1.1. ...
    global site tag (gtag.js) - google analytics
    网站地图