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.

  • 相关阅读:
    如何在C#中获得input文本框中的值
    多控件时,自适应布局(dl dd td )
    jquery easyui DataGrid
    报表文本字段钻取使用超链接(URL)的用法 (转)
    rabbitMQ队列使用及常用命令
    java集合操作
    Java集合框架总结(4)——List接口的使用
    Java集合框架总结(3)——TreeSet类的排序问题
    Java HashMap 分析之二:Hash code
    Java HashMap 分析之四:查找和内存使用
  • 原文地址:https://www.cnblogs.com/TerryLiang/p/2664492.html
Copyright © 2011-2022 走看看