huangfox

冰冻三尺,非一日之寒!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 2 3 4 5 6 7 ··· 14 下一页

2015年3月18日

摘要: 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 阅读(1113) 评论(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 阅读(575) 评论(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 阅读(955) 评论(0) 推荐(0) 编辑

2015年3月12日

摘要: “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 阅读(617) 评论(0) 推荐(0) 编辑

2015年3月5日

摘要: 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 阅读(364) 评论(0) 推荐(0) 编辑

2014年12月29日

摘要: SolrQuerySyntaxhttp://wiki.apache.org/solr/SolrQuerySyntaxsolr的处理方式:https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/solrj/src/java/org/apache/s... 阅读全文
posted @ 2014-12-29 14:54 huangfox 阅读(1838) 评论(0) 推荐(0) 编辑

2014年12月23日

摘要: 原文地址http://wiki.apache.org/solr/DocValuesDocValues从Lucene4.2和Solr4.2开始加入,通过建立字段的正排索引,提升sorting, faceting, grouping, function queries等性能。介绍在Solr的配置文件(s... 阅读全文
posted @ 2014-12-23 23:27 huangfox 阅读(531) 评论(0) 推荐(0) 编辑

2014年12月22日

摘要: Facets with LucenePosted onAugust 1, 2014byPascal DimassimoinLatest ArticlesDuring the development of our latest product,Norconex Content Analytics, w... 阅读全文
posted @ 2014-12-22 17:29 huangfox 阅读(757) 评论(0) 推荐(0) 编辑

摘要: package com.fox.facet;/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file d... 阅读全文
posted @ 2014-12-22 11:51 huangfox 阅读(1063) 评论(1) 推荐(0) 编辑

摘要: package com.fox.facet;import java.io.IOException;import java.util.ArrayList;import java.util.List;import org.apache.lucene.analysis.core.WhitespaceAna... 阅读全文
posted @ 2014-12-22 11:44 huangfox 阅读(957) 评论(0) 推荐(0) 编辑

摘要: package com.fox.facet;import java.io.File;import java.io.IOException;import java.util.ArrayList;import java.util.Arrays;import java.util.List;import o... 阅读全文
posted @ 2014-12-22 11:03 huangfox 阅读(629) 评论(0) 推荐(0) 编辑

2014年12月5日

摘要: http://tech.meituan.com/pinyin-suggest.html---------------------------------------------------------------------快照:问题背景搜索关键字智能提示是一个搜索应用的标配,主要作用是避免用户输入... 阅读全文
posted @ 2014-12-05 16:27 huangfox 阅读(12822) 评论(1) 推荐(2) 编辑

2014年12月4日

摘要: 阅读全文
posted @ 2014-12-04 18:06 huangfox 阅读(261) 评论(0) 推荐(0) 编辑

摘要: 结合网上的资料,抄袭了几张图,记录下。1.solrcloud-collection/shard/replica1.Replica、Leader是core的角色,在index、search的过程中作用不同。2.不同shard尽量分布在不同的solr节点上。solr上的core尽量分布“均匀”,确保负载... 阅读全文
posted @ 2014-12-04 18:00 huangfox 阅读(1115) 评论(0) 推荐(0) 编辑

2014年12月3日

摘要: Whenever a commit happens in Solr, a new "searcher" (with new caches) is opened, "warmed" up according to yourSolrConfigXmlsettings, and then put in p... 阅读全文
posted @ 2014-12-03 11:05 huangfox 阅读(584) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 14 下一页