Solr参数(Group Highlight MoreLikeThis)
2012-08-30 21:24
537 查看
一.Group
1.group.query
2.group.field
3.group.func
4.group.sort
5.group.limit:the limit for the number of documents in each group
6.group.offset:the offset for the doclist of each group
7.group.main:treat the first group result as the main result. true/false
8.group.format:treat the first group result as the main result. true/false
9.group.cache.percent:Whether to cache the first pass search (doc ids and score) for the second pass search.Also defines the maximum size of the group cache relative to maxdoc in a percentage.Values can be a positive integer, from 0 till 100. A value of 0 will disable the group cache.The default is 0.
10.group.truncate:Note: Since you can supply multiple fields to group on, but only have a facets for the whole result. It only makes sense to me to support these parameters for the first group.Whether the docSet (for example for faceting) should be based on plain documents (a.k.a UNGROUPED) or on the groups (a.k.a GROUPED).The docSet will only the most relevant documents per group. It is if you query for everything with group.limit=1
11.group.ngroups:Whether the group count should be included in the response
12.group.facet:Whether to compute grouped facets based on the first specified group
13.group.distributed.first:Retrieve the top search groups (top group values) from the shards being queried
14.group.distributed.second:Retrieve the top groups from the shards being queries based on the specified search groups in the GROUP_DISTRIBUTED_TOPGROUPS_PREFIX parameters
15.group.topgroups.
二.Highlight
1.hl
2.hl.q
3.hl.fl
4.hl.snippets
5.hl.fragsize
6.hl.increment
7.hl.maxAnalyzedChars
8.hl.formatter
9.hl.encoder
10.hl.fragmenter
11.hl.fragListBuilder
12.hl.fragmentsBuilder
13.hl.boundaryScanner
14.hl.bs.maxScan
15.hl.bs.chars
16.hl.bs.type
17.hl.bs.language
18.hl.bs.country
19.hl.requireFieldMatch
20.hl.alternateField
21.hl.maxAlternateFieldLength
22.hl.usePhraseHighlighter
23.hl.highlightMultiTerm
24.hl..mergeContiguous
25.hl.useFastVectorHighlighter
26.hl.tag.pre
27.hl.tag.post
28.hl.phraseLimit
29.hl.multiValuedSeparatorChar
30.hl.simple.pre
31.hl.simple.post
32.hl.regex.slop
33.hl.regex.pattern
34.hl.regex.maxAnalyzedChars
三.MoreLikeThis
1.mlt:enable more like this -- this only applies to 'StandardRequestHandler' maybe DismaxRequestHandler
2.mlt.fl
3.mlt.mintf
4.mlt.mindf
5.mlt.minwl
6.mlt.maxwl
7.mlt.maxqt
8.mlt.maxntp
9.mlt.boost:boost or not?
10.mlt.qf:boosting applied to mlt fields
11.mlt.count:the /mlt request handler uses 'rows'
12.mlt.match.include: Do you want to include the original document in the results or not
13.mlt.match.offset:If multiple docs are matched in the query, what offset do you want?
14.mlt.interestingTerms:false,details,(list or true)
1.group.query
2.group.field
3.group.func
4.group.sort
5.group.limit:the limit for the number of documents in each group
6.group.offset:the offset for the doclist of each group
7.group.main:treat the first group result as the main result. true/false
8.group.format:treat the first group result as the main result. true/false
9.group.cache.percent:Whether to cache the first pass search (doc ids and score) for the second pass search.Also defines the maximum size of the group cache relative to maxdoc in a percentage.Values can be a positive integer, from 0 till 100. A value of 0 will disable the group cache.The default is 0.
10.group.truncate:Note: Since you can supply multiple fields to group on, but only have a facets for the whole result. It only makes sense to me to support these parameters for the first group.Whether the docSet (for example for faceting) should be based on plain documents (a.k.a UNGROUPED) or on the groups (a.k.a GROUPED).The docSet will only the most relevant documents per group. It is if you query for everything with group.limit=1
11.group.ngroups:Whether the group count should be included in the response
12.group.facet:Whether to compute grouped facets based on the first specified group
13.group.distributed.first:Retrieve the top search groups (top group values) from the shards being queried
14.group.distributed.second:Retrieve the top groups from the shards being queries based on the specified search groups in the GROUP_DISTRIBUTED_TOPGROUPS_PREFIX parameters
15.group.topgroups.
二.Highlight
1.hl
2.hl.q
3.hl.fl
4.hl.snippets
5.hl.fragsize
6.hl.increment
7.hl.maxAnalyzedChars
8.hl.formatter
9.hl.encoder
10.hl.fragmenter
11.hl.fragListBuilder
12.hl.fragmentsBuilder
13.hl.boundaryScanner
14.hl.bs.maxScan
15.hl.bs.chars
16.hl.bs.type
17.hl.bs.language
18.hl.bs.country
19.hl.requireFieldMatch
20.hl.alternateField
21.hl.maxAlternateFieldLength
22.hl.usePhraseHighlighter
23.hl.highlightMultiTerm
24.hl..mergeContiguous
25.hl.useFastVectorHighlighter
26.hl.tag.pre
27.hl.tag.post
28.hl.phraseLimit
29.hl.multiValuedSeparatorChar
30.hl.simple.pre
31.hl.simple.post
32.hl.regex.slop
33.hl.regex.pattern
34.hl.regex.maxAnalyzedChars
三.MoreLikeThis
1.mlt:enable more like this -- this only applies to 'StandardRequestHandler' maybe DismaxRequestHandler
2.mlt.fl
3.mlt.mintf
4.mlt.mindf
5.mlt.minwl
6.mlt.maxwl
7.mlt.maxqt
8.mlt.maxntp
9.mlt.boost:boost or not?
10.mlt.qf:boosting applied to mlt fields
11.mlt.count:the /mlt request handler uses 'rows'
12.mlt.match.include: Do you want to include the original document in the results or not
13.mlt.match.offset:If multiple docs are matched in the query, what offset do you want?
14.mlt.interestingTerms:false,details,(list or true)
相关文章推荐
- solr3.4 高亮(highlight),拼写检查(spellCheck),匹配相似(moreLikeThis) 应用实践
- solr 相似查询-MoreLikeThis
- Solr 相似度判断moreLikeThis
- solr MoreLikeThis的原理分析
- 转载:solr MoreLikeThis的原理分析
- solr4.10 配置相似查询 MoreLikeThisComponent(MLT)和 MoreLikeThisHandler
- Solr Cookbook学习记录 - MoreLikeThis学习
- 转载:solr MoreLikeThis的原理分析
- Solr 相似页面MoreLikeThis
- Solr 相似页面MoreLikeThis
- [ solr扩展 ] MoreLikeThis的原理分析
- solr 相似查询-MoreLikeThis
- solr 相似查询 -- MoreLikeThis
- solr学习之九:MoreLikeThis相似查询
- solr特点五: MoreLikeThis(查找相似页面)
- elasticsearch使用more_like_this实现基于内容的推荐
- This program is blocked by group policy. For more information, contact your system administrator.
- elasticsearch使用More like this实现基于内容的推荐
- 分布式搜索elasticsearch java API 之(八)------使用More like this实现基于内容的推荐
- Solrj 取出商品相似度moreLikeThis的方法