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 WilliamBellamy
Date Thu, 26 Jan 2012 14:56:28 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 WilliamBellamy:
http://wiki.apache.org/solr/FieldCollapsing?action=diff&rev1=39&rev2=40

Comment:
changed fl value from manufacturer to manu. Results from solr now display as shown on web
page

  
  We can optionally use the results of a group command as the "main" result (i.e. a single
flat document list that would normally be produced by a non-grouped query request) by adding
the parameter '''group.main=true'''.  Although this result format does not have as much information,
it may be easier for existing solr clients to parse.
  
- [[http://localhost:8983/solr/select?wt=json&indent=true&fl=id,name,manufacturer&q=solr+memory&group=true&group.field=manu_exact&group.main=true|...&q=solr+memory&group=true&group.field=manu_exact&group.main=true]]
+ [[http://localhost:8983/solr/select?wt=json&indent=true&fl=id,name,manu&q=solr+memory&group=true&group.field=manu_exact&group.main=true|...&q=solr+memory&group=true&group.field=manu_exact&group.main=true]]
  
  {{{
    "response":{"numFound":6,"start":0,"docs":[

Mime
View raw message