solrcloud--core.properties


solrclound的core.properties可配置属性:
  • name - the name of the core required,core的名称
  • config - the configuration file. Defaults to solrconfig.xml,配置文件名称,默认是conf文件夹下的solrconfig.xml
  • dataDir - the directory where the index, tlog, etc. are stored. Again, since this is discovery-based, omit this unless you have special needs,索引文件的存储位置
  • ulogDir - where the transaction log resides. It may be advantageous to put the transaction lot on a different disk than the index,事务日志的存储日志
  • schema - the schema file. Defaults to schema.xml,schema文件配置,默认是conf文件夹的schema.xml
  • shard - the shard ID,shard的名称
  • collection - the collection to which this core belongs,这个core所属的solrcloud的collection
  • roles - SolrCloud role definition,solrcloud的角色,有可能是hdfs存储等

  • properties - properties file to override core definitions,重新定义properties文件位置,以该文件为优先
  • loadOnStartup - [true|false] this core should be loaded and a searcher opened when Solr starts,没用到过,就不误人子弟了
  • transient - [true|false] this core may be unloaded if the core cache exceeds transientCacheSize (defined in solr.propreties),没用到过,就不误人子弟了
  • coreNodeName - SolrCloud core node name,该core节点的名称,貌似在迁移索引啥的时候可以用到

  • <!> 4.6 <!> configName - tentative a name (expected to be in <SOLR_HOME>/configs that contains all of the configuration files (schema.xml, solrconfig.xml and all supporting files e.g. synonyms.txt). Multiple collections can use the same set of configuration files,4.6版本之后有效,几个collection可以共用一个配置,这个配置应该是zookeeper节点下的collection

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值