![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Solr
qiaoliang517
这个作者很懒,什么都没留下…
展开
-
Solr4.X SolrClound 配置
最近通过多方面搜索,发现SolrClound 依赖 Solr.xml 越来越小了。自己小记一下这几天的发现:1、启动参数-Dbootstrap_conf=true 配置,可以使用自己core中的配置文件2、core.properties 的配置numShards=3#shard数name=core_words#名称(即collection名称)schema=schema....原创 2014-02-12 18:09:08 · 78 阅读 · 0 评论 -
Apache Solr Documentation 地址
1、solr.xml 配置说明https://cwiki.apache.org/confluence/display/solr/Moving+to+the+New+solr.xml+Format 2、solr.xml 及core.properties 配置说明https://cwiki.apache.org/confluence/display/solr/Format+of+so...原创 2014-02-12 18:14:55 · 171 阅读 · 0 评论 -
SolrConfig.xml 说明
<?xml version="1.0" encoding="UTF-8" ?><config><!-- 当配置文件出错时退出 --><abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>原创 2014-02-12 18:19:21 · 111 阅读 · 0 评论 -
tomcat 下多core配置
1、在tomcat/conf/Catalina/localhost 下添加配置文件,one.xml 、other.xml 2、配置文件指明 solr应用路径和solr-home路径one.xml<?xml version="1.0" encoding="UTF-8"?><Context docBase="/solr" debug="0" crossConte...原创 2014-02-13 10:51:28 · 124 阅读 · 0 评论 -
Solr 中的 date 问题
初学solr在schema 里面配置并使用sorl的date或者tdate类型,具体类型与使用如下:Java代码 <field name="tdate_field" type="tdate" indexed="true" stored="true" /> <field name="date_field" type原创 2016-09-07 15:12:47 · 662 阅读 · 0 评论 -
Solr中Cache的类型理解
solr.LRUCache:最久未使用算法,使用时间距离现在最久的那个被移除;(LRU关键是看页面最后一次被使用到发生调度的时间长短)solr.FastLRUCache solr.LFUCache:最近最少使用算法,一定时间段内使用次数(频率)最少的那个被移除;(而LFU关键是看一定时间段内页面被使用的频率) size 缓存中的最大条目数。 initial...原创 2014-10-22 14:11:09 · 141 阅读 · 0 评论