zoukankan      html  css  js  c++  java
  • Solr参数(Stats Terms TermVector)

    一.Stats

    1.stats
    2.stats.field
    3.stats.facet

    二.Terms

    1.terms:The component name.  Set to true to turn on the TermsComponent
    2.terms.fl:Required.  Specify the field to look up terms in.
    3.terms.lower:Optional.  The lower bound term to start at.  The TermEnum will start at the next term after this term in the dictionary.If not specified, the empty string is used
    4.terms.upper:Optional.  The term to stop at
    5.terms.upper.incl:Optional.  If true, include the upper bound term in the results.  False by default.
    6.terms.lower.incl:Optional.  If true, include the lower bound term in the results, otherwise skip to the next one.  True by default.
    7.terms.limit:Optional.  The number of results to return.  If not specified, looks for CommonParams ROWS.  If that's not specified, uses 10.
    8.terms.prefix
    9.terms.regex
    10.terms.regex..flag:UNIX_LINES CASE_INSENSITIVE COMMENTS MULTILINE LITERAL DOTALL UNICODE_CASE CANON_EQ
    11.terms.mincount:Optional.  The minimum value of docFreq to be returned.  1 by default
    12.terms.maxcount:Optional.  The maximum value of docFreq to be returned.  -1 by default means no boundary
    13.terms.raw:Optional.  If true, return the raw characters of the indexed term, regardless of if it is readable.For instance, the index form of numeric numbers is not human readable.  The default is false.
    14.terms.sort:Optional.  If sorting by frequency is enabled.  Defaults to sorting by count.
    15.count
    16.index

    三.TermVector

    1.tv.tf:Return Term Frequency info
    2.tv.positions:Return Term Vector position information
    3.tv.offsets:Return offset information, if available
    4.tv.df:Return IDF information.  May be expensive
    5.tv.tf_idf:Return TF-IDF calculation, i.e. (tf / idf).  May be expensive.

  • 相关阅读:
    python 和 R 语言中的等差数列
    python 用 matplotlib 绘制误差条图
    Python 模拟伯努利试验和二项分布
    R 基于朴素贝叶斯模型实现手机垃圾短信过滤
    PCA 在手写数字数据集上的应用
    R 实现朴素贝叶斯分类器模型
    R语言 绘制正(余)弦图
    R 绘制反正(余)弦图像
    R 绘制正(余)切图像
    R 语言 do.call() 函数
  • 原文地址:https://www.cnblogs.com/TerryLiang/p/2664492.html
Copyright © 2011-2022 走看看