Solr参数(Analysis Collection Common CoreAdmin)

2019-03-27 01:03|来源: 网路

一.Analysis

1.analysis.query:Holds the query to be analyzed
2. analysis.showmatch:Set to  true to indicate that the index tokens that match query tokens should be marked as "mateched"
3. analysis.fieldname:Holds the value of the field which should be analyzed
4. analysis.fieldtype:Holds a comma-separated list of field types that the analysis should be peformed for
5. analysis.fieldvalue:Hodls a comma-separated list of field named that the analysis should be performed for

二.Collection

1.action:CREATE DELETE RELOAD SYNCSHARD
2.name

三.Common

1.NOW:Override for the concept of "NOW" to be used throughout this request,expressed as milliseconds since epoch.  This is primarily used in distributed search to ensure consistent time values are used across ultiple sub-requests
2.TZ:Specifies the TimeZone used by the client for the purposes of any DateMath rounding that may take place when executing the request
3.qt:the Request Handler (formerly known as the Query Type) - which Request Handler should handle the request
4.wt:the response writer type - the format of the response
5.q:query string
6.sort:sort order
7.fq:Lucene query string(s) for filtering the results without affecting scoring
8.start:zero based offset of matching documents to retrieve
9.rows:number of documents to return starting at "start"
10.pageScore:score of the last document of the previous page
11.pageDoc:docid of the last document of the previous page
12.xsl:stylesheet to apply to XML results
13.version:version parameter to check request-response compatibility
14.fl:query and init param for field list
15.df:default query field
16.tr:Transformer param -- used with XSLT
17.debugQuery:whether to include debug data for all components pieces, including doing explains
18.debug:Whether to provide debug info for specific items
19.timing: DEBUG value indicating an interest in debug output related to timing
20.results: DEBUG value indicating an interest in debug output related to the results (explains)
21.query: DEBUG value indicating an interest in debug output related to the Query (parsing, etc.)
22.debug.explain.structured:boolean indicating whether score explanations should structured (true),or plain text (false)
23.explainOther:another query to explain against
24.stream.url:If the content stream should come from a URL (using URLConnection)
25.stream.file:If the content stream should come from a File (using FileReader)
26.stream.body:If the content stream should come directly from a field
27.stream.contentType:Explicitly set the content type for the input stream If multiple streams are specified, the explicit contentType will be used for all of them
28.timeAllowed:Timeout value in milliseconds.  If not set, or the value is <= 0, there is no timeout
29.echoHandler:'true' if the header should include the handler name
30.echoParams:include the parameters in the header,EXPLICIT ALL NONE
31.omitHeader:include header in the response

四.Core Admin

1.core:What Core are we talking about
2.persistent: Persistent -- should it save the cores state?
3.name:If you rename something, what is the new name
4.dataDir:If you rename something, what is the new name
5.other:Name of the other core in actions involving 2 cores
6.action:What action,STATUS LOAD UNLOAD RELOAD CREATE PERSIST SWAP RENAME MERGEINDEXES PREPRECOVERY REQUESTRECOVERY REQUESTSYNCSHARD
7.schema:If you specify a schema, what is its name
8.config:If you specify a config, what is its name
9.instanceDir:Specifies a core instance dir
10.file:If you specify a file, what is its name
11.indexDir:If you merge indexes, what are the index directories.The directories are specified by multiple indexDir parameters.
12.srcCore:If you merge indexes, what is the source core's name More than one source core can be specified by multiple srcCore parameters
13.collection:The collection name in solr cloud
14.shard:The shard id in solr cloud
15.roles
16.deleteIndex:If you unload a core, delete the index too
17.deleteDataDir
18.deleteInstanceDir


转自:http://www.cnblogs.com/TerryLiang/archive/2012/08/30/2664483

相关问答

更多
  • 从SolrCloud文档 集合:单个搜索索引。 碎片:单个集合(也称为切片)的逻辑部分。 有时人们会从物理意义上谈论“碎片”(一种逻辑碎片的体现) 副本:逻辑碎片的物理表现形式,作为SolrCore上的单个Lucene索引实现 领导者:每个碎片的一个副本将被指定为负责协调该碎片的索引 SolrCore:封装一个物理索引。 一个或多个构成组成集合的逻辑碎片(或片)。 节点:Solr的单个实例。 一个Solr实例可以有多个SolrCore,它们可以是任意数量的集合的一部分。 群集:您用于托管SolrCores的 ...
  • 您不将该文件包含在您的收藏中。 插入以下声明: 此外,您只定义了一个函数,它返回您的集合而没有全局对象。 所以你首先必须调用该函数,例如, var myCol = populateCollection(); 然后您可以像下面这样访问它: for ( var i in myCol ) { if( myCol.hasOwnProperty( i ) { // do your stuff aler ...
  • 您仍然必须将配置集上传到zookeeper。 您可以在cloud-> tree-> configs下的admin UI中找到zookeeper上的配置集列表。 这些集合在cloud-> tree-> collections下。 如果单击某个集合,则可以找到与其关联的配置集:({“configName”:“MyConfig”}) 您可以使用solr主机上的zkcli.sh命令将配置集上传到zookeeper: cd /opt/solr/server/scripts/cloud-scripts ./zkcli. ...
  • 确保JourneyPattern和JourneyPatternSection实现了一个通用interface如: public interface IJourney { string hash { get; set; } string id { get; set; } } 您可以为集合实现基类: public abstract class SpecializedList : List where T : class, IJourney { private Diction ...
  • 在cassandra上启用节俭服务器 nodetool enablethrift Enable thrift server on cassandra nodetool enablethrift
  • 这是你的错误: 7270 [main] ERRORorg.apache.solr.core.SolrCoreûnull:org.apache.solr.common.S olrException:找到多个名为[collection1]的核心,其中包含instancedirs [C:\ Users \ kapel_000 \ Desktop \ solr-4.10.2 \ example \ solr \ collection1]和[C:\ Users \ kapel_000 \ Desktop \ solr ...
  • 正如Jayendra 所说 , 不确定是否有核心管理员调用来更改默认核心名称。 但您可以尝试交换wiki.apache.org/solr/CoreAdmin#SWAP将默认核心指向您想要的核心。 假设默认核心设置为live 。 您可以使用SWAP命令将活动核心与另一个核心(例如ondeck) 交换 : http://localhost:8983/solr/admin/cores?action=SWAP&core=live&other=ondeck 旧的活核心现在处于甲板上,而旧的甲板核心是新的活核心。 A ...
  • SOLR中总有一个核心。 默认情况下,SOLR实例创建名为collection1的核心。 如果你有一个核心并且不确定如何在运行时重新加载,你可以使用它, http://localhost:8080/solr/admin/cores?action=RELOAD&core=collection1 As best as I can tell, online reloading requires a Multicore configuration, which it turns out isn't too har ...
  • Sheets是Object类型的集合,而不是Collection类型的对象。 就像JosieP说的那样 Sheets类不从VBA Collection继承,也不实现Collection接口(例如没有Remove方法) 应该足以理解。 MSDN参考 Sub Main() Dim c As Collection Set c = New Collection Debug.Print VarType(c), TypeOf c Is Collection Debug.Print ...
  • 我知道这有点旧,但这就是我为解决同样的问题而采取的措施。 CF管理员中的Solr服务没有显示核心集合,它不会让我创建一个新的集合(如上所述)。 使用Win7,CF9.0.1 通过Windows服务管理器停止搜索服务和Solr服务。 编辑了ColdFusion9 \ solr \ multicore \ solr.xml文件,并删除了我们正在停止工作时正在处理的集合的条目。 这是似乎有所作为的一步。 先备份文件!!! 对于我从solr.xml中删除的条目,我还使用Windows文件管理器从文件系统中完全删除了 ...