You have a left parenthesis rather than a left brace in that first fq example.

-- Jack Krupansky

-----Original Message----- From: Apache Wiki
Sent: Thursday, October 24, 2013 3:44 PM
To: Apache Wiki
Subject: [Solr Wiki] Update of "CollapsingQParserPlugin" by JoelBernstein

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to