huangfox

冰冻三尺,非一日之寒!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  194 随笔 :: 4 文章 :: 106 评论 :: 105万 阅读

03 2015 档案

摘要:http://stackoverflow.com/questions/20233837/importing-multi-valued-field-into-solr-from-mysql-using-solr-data-import-handlerQ:We have the following tw... 阅读全文
posted @ 2015-03-31 16:52 huangfox 阅读(679) 评论(0) 推荐(0) 编辑

摘要:工具:jstatjmapjhat1.jstat查看gc情况S0C、S1C、S0U、S1U:Survivor 0/1区容量(Capacity)和使用量(Used)EC、EU:Eden区容量和使用量OC、OU:年老代容量和使用量PC、PU:永久代容量和使用量YGC、YGT:年轻代GC次数和GC耗时FGC... 阅读全文
posted @ 2015-03-20 23:58 huangfox 阅读(7861) 评论(0) 推荐(1) 编辑

摘要:What is SolrCloud?(And how does it compare to master-slave?)SolrCloud is a set of new features and functionality added in Solr 4.0 to enable a new way... 阅读全文
posted @ 2015-03-18 15:50 huangfox 阅读(1122) 评论(0) 推荐(0) 编辑

摘要:LBHttpSolrServer or "Load BalancedHttpSolrServer" is just a wrapper toCommonsHttpSolrServer. This is useful when you have multiple SolrServers and que... 阅读全文
posted @ 2015-03-18 14:55 huangfox 阅读(577) 评论(0) 推荐(0) 编辑

摘要:SolrServer实现类HttpSolrServerHttpSolrServer uses the Apache Commons HTTPClient to connect to solr.HttpSolrServer is thread-safe and if you are using the... 阅读全文
posted @ 2015-03-18 14:46 huangfox 阅读(960) 评论(0) 推荐(0) 编辑

摘要:“Hard commits are about durability, soft commits are about visibility“Transaction Logs首先介绍下solrcloud的index流程。1)update请求发送给任意节点(NodeA)。2)若该节点不是leader,将... 阅读全文
posted @ 2015-03-12 20:09 huangfox 阅读(618) 评论(0) 推荐(0) 编辑

摘要:ProblemDesign and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key)- Ge... 阅读全文
posted @ 2015-03-05 16:09 huangfox 阅读(365) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示