lucene-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 "CollapsingQParserPlugin" by JoelBernstein
Date Thu, 24 Oct 2013 19:44:20 GMT
Dear Wiki user,

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

The "CollapsingQParserPlugin" page has been changed by JoelBernstein:
https://wiki.apache.org/solr/CollapsingQParserPlugin?action=diff&rev1=3&rev2=4

  
  Collapse based on the highest scoring document:
  
- fq=(!collapse field=field_name}
+  fq=(!collapse field=field_name}
  
  Collapse based on the min value of a numeric field:
  
- fq={!collapse field=field_name min=field_name}
+  fq={!collapse field=field_name min=field_name}
  
  Collapse based on the max value of a numeric field:
  
- q={!collapse field=field_name max=field_name}
+  q={!collapse field=field_name max=field_name}
  
  Collapse with a null policy:
  
- fq={!collapse field=field_name nullPolicy=nullPolicy}
+  fq={!collapse field=field_name nullPolicy=nullPolicy}
  
  There are three null policies:
  
- ignore : removes docs with a null value in the collapse field (default).
+  ignore : removes docs with a null value in the collapse field (default).
  
- expand : treats each doc with a null value in the collapse field as a separate group.
+  expand : treats each doc with a null value in the collapse field as a separate group.
  
- collapse : collapses all docs with a null value into a single group using either highest
score, or min/max.
+  collapse : collapses all docs with a null value into a single group using either highest
score, or min/max.
  
  The CollapsingQParserPlugin fully supports the QueryElevationComponent.
  

Mime
View raw message