优秀的博客地址-冰冻三尺非一日之寒

来源:互联网 发布:德州扑克 人工智能 编辑:程序博客网 时间:2024/05/17 06:39

MR-fox

冰冻三尺,非一日之寒!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  183 随笔 :: 5 文章 :: 76 评论 :: 0 引用

随笔分类 - 94-搜索引擎_elasticSearch

ElasticSearch - Node
摘要: elasticSearch node 的配置如下:# Every node can be configured to allow or deny being eligible as the master,# and to allow or deny to store the data.## Allo...阅读全文
posted @ 2014-07-10 14:41 MR-fox 阅读(1194) | 评论 (0) 编辑

Elasticsearch Internals: Networking Introduction An Overview of the Network Topology
摘要: This article introduces the networking part of Elasticsearch. We look at the network topology of an Elasticsearch cluster, which connections are estab...阅读全文
posted @ 2014-07-04 17:02 MR-fox 阅读(589) | 评论 (0) 编辑

elasticsearch 口水篇(9)Facet
摘要: FACET1)Terms Facet{ "query" : { "match_all" : { } }, "facets" : { "tag" : { "terms" : { "field" : "tag", "size" : 10 } } }}被统计(facet)的字段一般不分词(例如商品的类目字段——类目唯一),但也支持分词后term不多的字段(例如商品的标签字段)。 对应这种facet我们主要关注几点:facet的字...阅读全文
posted @ 2014-03-31 18:48 MR-fox 阅读(3944) | 评论 (0) 编辑

elasticsearch mapping demo
摘要: curl -XPUT localhost:9200/local -d '{ "settings" : { "analysis" : { "analyzer" : { "stem" : { "tokenizer" : "standard", "filter" : ["standard", "lowercase", "stop", "porter_stem"] } } } 阅读全文
posted @ 2014-03-27 21:50 MR-fox 阅读(1983) | 评论 (1) 编辑

elasticsearch 口水篇(8)分词 中文分词 ik插件
摘要: 先来一个标准分词(standard),配置如下:curl -XPUT localhost:9200/local -d '{ "settings" : { "analysis" : { "analyzer" : { "stem" : { "tokenizer" : "standard", "filter" : ["standard", "lowercase", "stop", "p阅读全文
posted @ 2014-03-27 21:39 MR-fox 阅读(7243) | 评论 (1) 编辑

How HipChat Stores And Indexes Billions Of Messages Using ElasticSearch And Redis[转]
摘要: This article is from an interview withZuhaib Siddique, a production engineer atHipChat, makers ofgroup chat and IM for teams.HipChat started in an unusual space, one you might not think would have much promise, enterprise group messaging, but as we are learning there is gold in them thereenterprise 阅读全文
posted @ 2014-03-26 10:43 MR-fox 阅读(377) | 评论 (0) 编辑

elasticsearch 口水篇(7) Eclipse中部署ES源码、运行
摘要: ES源码可以直接从svn下载https://github.com/elasticsearch/elasticsearch下载后,用Maven导入(import——》Existing Maven Projects)待Maven下载完响应的jar包即可。如图:--------------------------------运行方式一:bin/elasticsearch.bat 启动修改elasticsearch.bat中的参数:set ES_CLASSPATH=%ES_CLASSPATH%;%ES_HOME%/lib/${project.build.finalName}.jar;%ES_HOME%阅读全文
posted @ 2014-03-12 23:48 MR-fox 阅读(2466) | 评论 (1) 编辑

elasticsearch 口水篇(6) Mapping 定义索引
摘要: 前面我们感觉ES就想是一个nosql数据库,支持Free Schema。接触过Lucene、solr的同学这时可能会思考一个问题——怎么定义document中的field?store、index、analyzer等属性如何配置?这时可以了解下ES中的Mapping。[reference]http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping.html#mappingMapping is the process of defining how a document should be mapped阅读全文
posted @ 2014-02-11 18:15 MR-fox 阅读(9195) | 评论 (1) 编辑

elasticsearch 口水篇(5)es分布式集群初探
摘要: es有很多特性,分布式、副本集、负载均衡、容灾等。我们先搭建一个很简单的分布式集群(伪),在同一机器上配置三个es,配置分别如下:cluster.name: foxClusternode.name: "fox"cluster.name: foxClusternode.name: "fox2"transport.tcp.port: 9302http.port: 9202cluster.name: foxClusternode.name: "fox3"transport.tcp.port: 9303http.port: 9203加入一些数阅读全文
posted @ 2014-02-10 18:11 MR-fox 阅读(5184) | 评论 (3) 编辑

elasticsearch 口水篇(4)java客户端 - 原生esClient
摘要: 上一篇(elasticsearch 口水篇(3)java客户端 - Jest)Jest是第三方客户端,基于REST Api进行调用(httpClient),本篇简单介绍下elasticsearch原生的java客户端。具体参考:http://www.elasticsearch.org/guide/e...阅读全文
posted @ 2014-02-10 16:23 MR-fox 阅读(13480) | 评论 (2) 编辑

elasticsearch 口水篇(3)java客户端 - Jest
摘要: elasticsearch有丰富的客户端,java客户端有Jest。其原文介绍如下:Jestis a Java HTTP Rest client for ElasticSearch.It is actively developed and tested by Searchly.A sample Java application using Jest can be found on GitHubhttps://github.com/searchbox-io/java-jest-sample.[http://www.searchly.com/documentation/developer-api-阅读全文
posted @ 2014-02-10 14:37 MR-fox 阅读(6833) | 评论 (0) 编辑

elasticsearch 口水篇(2)CRUD Sense
摘要: Sense为了方便、直观的使用es的REST Api,我们可以使用sense。Sense是Chrome浏览器的一个插件,使用简单。如图:Sense安装:https://chrome.google.com/webstore/detail/sense/doinijnbnggojdlcjifpdckfokbbfpbo或者直接去chrome网上应用店搜索安装。CRUDURL的格式:http://localhost:9200///[]其中index、type是必须提供的。id是可选的,不提供es会自动生成。index、type将信息进行分层,利于管理。index可以理解为数据库,type理解为数据表。补阅读全文
posted @ 2014-02-09 17:34 MR-fox 阅读(4212) | 评论 (0) 编辑

elasticsearch 口水篇(1) 安装、插件
摘要: 一)安装elasticsearch1)下载elasticsearch-0.90.10,解压,运行\bin\elasticsearch.bat (windwos)2)进入http://localhost:9200/如下图安装成功!二)插件——headelasticsearch-head是一个elasticsearch的集群管理工具,它是完全由html5编写的独立网页程序,你可以通过插件把它集成到es。安装命令:\bin>plugin -install mobz/elasticsearch-head安装完成后\plugins目录下会有head的文件夹。进入http://localhost:9阅读全文
posted @ 2014-02-09 11:11 MR-fox 阅读(17414) | 评论 (4) 编辑

elasticsearch 随笔
摘要: 2014年,开始对ES边学边记录。一)口水篇elasticsearch 口水篇(1) 安装、插件elasticsearch 口水篇(2)CRUDelasticsearch 口水篇(3)java客户端 - Jestelasticsearch 口水篇(4)java客户端 - 原生esClientelasticsearch 口水篇(5)es分布式集群初探二)原理三)源码四)优化五)经验总结阅读全文
posted @ 2014-02-09 10:52 MR-fox 阅读(1576) | 评论 (0) 编辑

0 0
原创粉丝点击