zoukankan      html  css  js  c++  java
  • Solr参数(Group Highlight MoreLikeThis)

    一.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)

  • 相关阅读:
    cpu降频问题
    配置 logrotate 指导
    Ubuntu 和 Ros 对应版本关系
    Git 文件管理
    Win10(UEFI启动) 安装Ubuntu16.04双系统
    Clion ROS开发环境设置
    clion 创建快捷方式和配置ros开发环境
    Ubuntu 16.04安装 CastXML
    eigen3 版本信息查看
    ubunutu eigen3包的查找
  • 原文地址:https://www.cnblogs.com/TerryLiang/p/2664489.html
Copyright © 2011-2022 走看看