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.

posted @ 2012-08-30 21:24  TerryLiang  阅读(1244)  评论(0编辑  收藏  举报