You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Jack Krupansky <ja...@basetechnology.com> on 2013/10/24 21:50:45 UTC

Re: [Solr Wiki] Update of "CollapsingQParserPlugin" by JoelBernstein

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: [Solr Wiki] Update of "CollapsingQParserPlugin" by JoelBernstein

Posted by Joel Bernstein <jo...@gmail.com>.
Ok, thanks!


On Thu, Oct 24, 2013 at 3:50 PM, Jack Krupansky <ja...@basetechnology.com>wrote:

> 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<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: dev-unsubscribe@lucene.apache.**org<de...@lucene.apache.org>
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>


-- 
Joel Bernstein
Professional Services LucidWorks