You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/10/27 17:00:43 UTC

[Solr Wiki] Trivial Update of "FieldCollapsing" by YonikSeeley

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 YonikSeeley.
The comment on this change is: typo.
http://wiki.apache.org/solr/FieldCollapsing?action=diff&rev1=21&rev2=22

--------------------------------------------------

  [...]
  }}}
  
- The response indicates that there are 9 total matches to our query.
+ The response indicates that there are 6 total matches to our query.
  For each unique value of group.field (manufacturer names in this example) a docList with the top scoring document is returned.  The docList also gives the total number of matches in that group as "numFound".  The groups themselves are also sorted by the score of the top document within each group.
  
  We can find the top documents that also match arbitrary queries with the {{{group.query}}} command (much like {{{facet.query}}}). For example, we could use this to find the top 3 documents with in different price ranges: