Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by HossMan: http://wiki.apache.org/solr/SimpleFacetParameters The comment on the change is: more consistent formating and param cross refs ------------------------------------------------------------------------------ This parameter can be specified on a per field basis. + === facet.method === + + This parameter indicates what type of algorithm/method to use when faceting a field. + + * {{{enum}}} Enumerates all terms in a field, calculating the set intersection of documents that match the term with documents that match the query. This was the default (and only) method for faceting multi-valued fields prior to Solr 1.4. + * {{{fc}}} (stands for field cache) The facet counts are calculated by iterating over documents that match the query and summing the terms that appear in each document. This was the default method for single valued fields prior to Solr 1.4. + + The default value is {{{fc}}} (except for !BoolField) since it tends to use less memory and is faster when a field has many unique terms in the index. + + This parameter can be specified on a per field basis. + + <!> ["Solr1.4"] + === facet.enum.cache.minDf === - This param indicates the minimum document frequency (number of documents matching a term) for which the filterCache should be used when determining the constraint count for that term. This is only used during + This param indicates the minimum document frequency (number of documents matching a term) for which the filterCache should be used when determining the constraint count for that term. This is only used when {{{facet.method=enum}}} method of faceting - the term enumeration method of faceting (facet.field type faceting on multi-valued or full-text fields). A value greater than zero will decrease memory usage of the filterCache, but increase the query time. When faceting on a field with a very large number of terms, and you wish to decrease memory usage, try a low value of 25 to 50 first. @@ -109, +121 @@ This parameter can be specified on a per field basis. <!> ["Solr1.2"] - - == facet.method == - - This parameter indicates what type of algorithm/method to use when faceting a field. - - The {{{enum}}} method was the default (and only) method for faceting multi-valued fields prior to Solr1.4. It enumerates all terms in a field, calculating the set intersection of documents that match the term with documents that match the query. - - The {{{fc}}} method (stands for field cache) is the default method for single valued fields, and in Solr1.4 it's also the default for multi-valued fields since it tends to use less memory and is faster when a multi-valued field has many unique terms in the index. The facet counts are calculated by iterating over documents that match the query and summing the terms that appear in each document. - - The default value is {{{fc}}} - - <!> ["Solr1.4"] == Date Faceting Parameters ==
