摘要:http://stackoverflow.com/questions/20233837/importing-multi-valued-field-into-solr-from-mysql-using-solr-data-import-handlerQ:We have the following tw...
阅读全文
03 2015 档案
摘要:工具:jstatjmapjhat1.jstat查看gc情况S0C、S1C、S0U、S1U:Survivor 0/1区容量(Capacity)和使用量(Used)EC、EU:Eden区容量和使用量OC、OU:年老代容量和使用量PC、PU:永久代容量和使用量YGC、YGT:年轻代GC次数和GC耗时FGC...
阅读全文
摘要: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...
阅读全文
摘要:LBHttpSolrServer or "Load BalancedHttpSolrServer" is just a wrapper toCommonsHttpSolrServer. This is useful when you have multiple SolrServers and que...
阅读全文
摘要:SolrServer实现类HttpSolrServerHttpSolrServer uses the Apache Commons HTTPClient to connect to solr.HttpSolrServer is thread-safe and if you are using the...
阅读全文
摘要:“Hard commits are about durability, soft commits are about visibility“Transaction Logs首先介绍下solrcloud的index流程。1)update请求发送给任意节点(NodeA)。2)若该节点不是leader,将...
阅读全文
摘要:ProblemDesign and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key)- Ge...
阅读全文