lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "FieldCollapsing" by MattWeber
Date Tue, 29 Sep 2009 22:05:58 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "FieldCollapsing" page has been changed by MattWeber:
http://wiki.apache.org/solr/FieldCollapsing?action=diff&rev1=4&rev2=5

  
  
  || '''param''' || '''description''' ||
- || collapse || Set this to true to enable collapsing. ||
- || collapse.type || normal/adjacent -- does this collapse all fields or just the ones that
are next to each other ||
+ || collapse.type || normal/adjacent -- does this collapse all fields or just the ones that
are next to each other.  Defaults to normal ||
  || collapse.field || Which field to collapse ||
- || collapse.max   || How many results to show for the collapsed field. ||
+ || collapse.facet || before/after -- apply faceting before or after collapsing.  Defaults
to after ||
+ || collapse.max   || Deprecated use collapse.threshold instead ||
+ || collapse.threshold || The number of documents with the same value for collapse.field
after which collapsing kicks in ||
+ || collapse.maxdocs || Maximum number of documents to process during field collapsing ||
+ || collapse.info.doc || Return collapse count for each document? Defaults to true ||
+ || collapse.info.count || Return collapse count for each field value? Defaults to true ||
+ || collapse.includeCollapsedDocs.fl || Parameter indicating to return the collapsed documents
in the response and what fields to return in comma separated manner. A value * indicates that
all fields will be returned ||
+ || collapse.debug || wheter to include collapse debug information ||
  
  
  
@@ -60, +66 @@

  
  Collapse all documents using 'cat' and 'normal' collapse type:
  
- http://localhost:8983/solr/select/?q=*:*&collapse.field=cat&collapse.max=1&collapse.type=normal
+ http://localhost:8983/solr/select/?q=*:*&collapse.field=cat&collapse.threshold=1&collapse.type=normal
  {{{
  <lst name="collapse_counts">
   <int name="hard">1</int>
@@ -72, +78 @@

  }}}
  
  
- http://localhost:8983/solr/select/?q=*:*&collapse.field=cat&collapse.max=1&collapse.type=adjacent
+ http://localhost:8983/solr/select/?q=*:*&collapse.field=cat&collapse.threshold=1&collapse.type=adjacent
  {{{
  <lst name="collapse_counts">
   <int name="hard">1</int>

Mime
View raw message