You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bill Bell (JIRA)" <ji...@apache.org> on 2010/11/19 18:19:13 UTC
[jira] Created: (SOLR-2246) Need group.facet.after = true to get
facet counts after group by
Need group.facet.after = true to get facet counts after group by
----------------------------------------------------------------
Key: SOLR-2246
URL: https://issues.apache.org/jira/browse/SOLR-2246
Project: Solr
Issue Type: Bug
Components: Build
Affects Versions: 3.1
Reporter: Bill Bell
Fix For: 3.1
Please add group.facet.after = true.
The facet counts after grouping (field collapsing) are wrong.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (SOLR-2246) Need group.facet.after = true to get
facet counts after group by
Posted by "Bill Bell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Bell updated SOLR-2246:
----------------------------
Description:
Please add group.facet.after = true option.
The use case is that we want the facets numbers to count only the 1st item in each group if using the default limit of 1. This first item is what we show on the page,
and facets needs to reflect what is shown on the page. The facet field should add the subsections when using "&group.facet.after=true"
http://localhost:8983/solr/select?defType=dismax&q=Bill&facet=true&facet.field=gender&group=true&group.field=hgid&ident=true&fl=hgid,gender&sort=gender asc
hgid:1
gender:M
hgid:1
gender:F
hgid:1
gender:M
-- when grouping this returns 1 row, with gender:F.
hgid:2
gender:F
hgid:2
gender:M
-- when grouping this returns 1 row, with gender:F.
hgid:3
gender:M
-- when grouping this returns 1 row, with gender:M.
<lst name="facet">
<lst group="hgid">
<lst name="facet_counts">
<lst name="facet_queries"/>
<lst name="facet_fields">
<lst name="gender">
<int name="M">1</int>
<int name="F">2</int>
</lst>
</lst>
<lst name="facet_dates"/>
<lst name="facet_ranges"/>
</lst>
</lst>
<!-- could have other ones -->
<!-- this is the total counts -->
<lst name="facet_counts">
<lst name="facet_queries"/>
<lst name="facet_fields">
<lst name="gender">
<int name="M">4</int>
<int name="F">2</int>
</lst>
</lst>
<lst name="facet_dates"/>
<lst name="facet_ranges"/>
</lst>
</lst>
After group.field=<field> we want the facet counts to reflect the documents that have been grouped.
was:
Please add group.facet.after = true option.
After group.field=<field> we want the facets to be reduced by the grouping.
Remaining Estimate: 168h
Original Estimate: 168h
> Need group.facet.after = true to get facet counts after group by
> ----------------------------------------------------------------
>
> Key: SOLR-2246
> URL: https://issues.apache.org/jira/browse/SOLR-2246
> Project: Solr
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.1
> Reporter: Bill Bell
> Fix For: 4.0
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> Please add group.facet.after = true option.
> The use case is that we want the facets numbers to count only the 1st item in each group if using the default limit of 1. This first item is what we show on the page,
> and facets needs to reflect what is shown on the page. The facet field should add the subsections when using "&group.facet.after=true"
> http://localhost:8983/solr/select?defType=dismax&q=Bill&facet=true&facet.field=gender&group=true&group.field=hgid&ident=true&fl=hgid,gender&sort=gender asc
> hgid:1
> gender:M
> hgid:1
> gender:F
> hgid:1
> gender:M
> -- when grouping this returns 1 row, with gender:F.
> hgid:2
> gender:F
> hgid:2
> gender:M
> -- when grouping this returns 1 row, with gender:F.
> hgid:3
> gender:M
> -- when grouping this returns 1 row, with gender:M.
> <lst name="facet">
> <lst group="hgid">
> <lst name="facet_counts">
> <lst name="facet_queries"/>
> <lst name="facet_fields">
> <lst name="gender">
> <int name="M">1</int>
> <int name="F">2</int>
> </lst>
> </lst>
> <lst name="facet_dates"/>
> <lst name="facet_ranges"/>
> </lst>
> </lst>
> <!-- could have other ones -->
> <!-- this is the total counts -->
> <lst name="facet_counts">
> <lst name="facet_queries"/>
> <lst name="facet_fields">
> <lst name="gender">
> <int name="M">4</int>
> <int name="F">2</int>
> </lst>
> </lst>
> <lst name="facet_dates"/>
> <lst name="facet_ranges"/>
> </lst>
> </lst>
> After group.field=<field> we want the facet counts to reflect the documents that have been grouped.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (SOLR-2246) Need group.facet.after = true to get
facet counts after group by
Posted by "Bill Bell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Bell updated SOLR-2246:
----------------------------
Description:
Please add group.facet.after = true option.
The use case is that we want the facets numbers to count only the 1st item in each group if using the default limit of 1. This first item is what we show on the page,
and facets needs to reflect what is shown on the page. The facet field should add the subsections when using "&group.facet.after=true"
http://localhost:8983/solr/select?defType=dismax&q=Bill&facet=true&facet.field=gender&group=true&group.field=hgid&ident=true&fl=hgid,gender&sort=gender asc
hgid:1
gender:M
hgid:1
gender:F
hgid:1
gender:M
-- when grouping this returns 1 row, with gender:F.
hgid:2
gender:F
hgid:2
gender:M
-- when grouping this returns 1 row, with gender:F.
hgid:3
gender:M
-- when grouping this returns 1 row, with gender:M.
{code}
<lst name="facet">
<lst group="hgid">
<lst name="facet_counts">
<lst name="facet_queries"/>
<lst name="facet_fields">
<lst name="gender">
<int name="M">1</int>
<int name="F">2</int>
</lst>
</lst>
<lst name="facet_dates"/>
<lst name="facet_ranges"/>
</lst>
</lst>
<!-- could have other ones -->
<!-- this is the total counts -->
<lst name="facet_counts">
<lst name="facet_queries"/>
<lst name="facet_fields">
<lst name="gender">
<int name="M">4</int>
<int name="F">2</int>
</lst>
</lst>
<lst name="facet_dates"/>
<lst name="facet_ranges"/>
</lst>
</lst>
{code}
After group.field=<field> we want the facet counts to reflect the documents that have been grouped.
was:
Please add group.facet.after = true option.
The use case is that we want the facets numbers to count only the 1st item in each group if using the default limit of 1. This first item is what we show on the page,
and facets needs to reflect what is shown on the page. The facet field should add the subsections when using "&group.facet.after=true"
http://localhost:8983/solr/select?defType=dismax&q=Bill&facet=true&facet.field=gender&group=true&group.field=hgid&ident=true&fl=hgid,gender&sort=gender asc
hgid:1
gender:M
hgid:1
gender:F
hgid:1
gender:M
-- when grouping this returns 1 row, with gender:F.
hgid:2
gender:F
hgid:2
gender:M
-- when grouping this returns 1 row, with gender:F.
hgid:3
gender:M
-- when grouping this returns 1 row, with gender:M.
<lst name="facet">
<lst group="hgid">
<lst name="facet_counts">
<lst name="facet_queries"/>
<lst name="facet_fields">
<lst name="gender">
<int name="M">1</int>
<int name="F">2</int>
</lst>
</lst>
<lst name="facet_dates"/>
<lst name="facet_ranges"/>
</lst>
</lst>
<!-- could have other ones -->
<!-- this is the total counts -->
<lst name="facet_counts">
<lst name="facet_queries"/>
<lst name="facet_fields">
<lst name="gender">
<int name="M">4</int>
<int name="F">2</int>
</lst>
</lst>
<lst name="facet_dates"/>
<lst name="facet_ranges"/>
</lst>
</lst>
After group.field=<field> we want the facet counts to reflect the documents that have been grouped.
> Need group.facet.after = true to get facet counts after group by
> ----------------------------------------------------------------
>
> Key: SOLR-2246
> URL: https://issues.apache.org/jira/browse/SOLR-2246
> Project: Solr
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.1
> Reporter: Bill Bell
> Fix For: 4.0
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> Please add group.facet.after = true option.
> The use case is that we want the facets numbers to count only the 1st item in each group if using the default limit of 1. This first item is what we show on the page,
> and facets needs to reflect what is shown on the page. The facet field should add the subsections when using "&group.facet.after=true"
> http://localhost:8983/solr/select?defType=dismax&q=Bill&facet=true&facet.field=gender&group=true&group.field=hgid&ident=true&fl=hgid,gender&sort=gender asc
> hgid:1
> gender:M
> hgid:1
> gender:F
> hgid:1
> gender:M
> -- when grouping this returns 1 row, with gender:F.
> hgid:2
> gender:F
> hgid:2
> gender:M
> -- when grouping this returns 1 row, with gender:F.
> hgid:3
> gender:M
> -- when grouping this returns 1 row, with gender:M.
> {code}
> <lst name="facet">
> <lst group="hgid">
> <lst name="facet_counts">
> <lst name="facet_queries"/>
> <lst name="facet_fields">
> <lst name="gender">
> <int name="M">1</int>
> <int name="F">2</int>
> </lst>
> </lst>
> <lst name="facet_dates"/>
> <lst name="facet_ranges"/>
> </lst>
> </lst>
> <!-- could have other ones -->
> <!-- this is the total counts -->
> <lst name="facet_counts">
> <lst name="facet_queries"/>
> <lst name="facet_fields">
> <lst name="gender">
> <int name="M">4</int>
> <int name="F">2</int>
> </lst>
> </lst>
> <lst name="facet_dates"/>
> <lst name="facet_ranges"/>
> </lst>
> </lst>
> {code}
> After group.field=<field> we want the facet counts to reflect the documents that have been grouped.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (SOLR-2246) Need group.facet.after = true to get
facet counts after group by
Posted by "Bill Bell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Bell updated SOLR-2246:
----------------------------
Fix Version/s: (was: 3.1)
4.0
Description:
Please add group.facet.after = true option.
After group.field=<field> we want the facets to be reduced by the grouping.
was:
Please add group.facet.after = true.
The facet counts after grouping (field collapsing) are wrong.
> Need group.facet.after = true to get facet counts after group by
> ----------------------------------------------------------------
>
> Key: SOLR-2246
> URL: https://issues.apache.org/jira/browse/SOLR-2246
> Project: Solr
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.1
> Reporter: Bill Bell
> Fix For: 4.0
>
>
> Please add group.facet.after = true option.
> After group.field=<field> we want the facets to be reduced by the grouping.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Closed] (SOLR-2246) Need group.facet.after = true to get
facet counts after group by
Posted by "Bill Bell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Bell closed SOLR-2246.
---------------------------
Resolution: Duplicate
> Need group.facet.after = true to get facet counts after group by
> ----------------------------------------------------------------
>
> Key: SOLR-2246
> URL: https://issues.apache.org/jira/browse/SOLR-2246
> Project: Solr
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.1
> Reporter: Bill Bell
> Fix For: 4.0
>
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> Please add group.facet.after = true option.
> The use case is that we want the facets numbers to count only the 1st item in each group if using the default limit of 1. This first item is what we show on the page,
> and facets needs to reflect what is shown on the page. The facet field should add the subsections when using "&group.facet.after=true"
> http://localhost:8983/solr/select?defType=dismax&q=Bill&facet=true&facet.field=gender&group=true&group.field=hgid&ident=true&fl=hgid,gender&sort=gender asc
> hgid:1
> gender:M
> hgid:1
> gender:F
> hgid:1
> gender:M
> -- when grouping this returns 1 row, with gender:F.
> hgid:2
> gender:F
> hgid:2
> gender:M
> -- when grouping this returns 1 row, with gender:F.
> hgid:3
> gender:M
> -- when grouping this returns 1 row, with gender:M.
> {code}
> <lst name="facet">
> <lst group="hgid">
> <lst name="facet_counts">
> <lst name="facet_queries"/>
> <lst name="facet_fields">
> <lst name="gender">
> <int name="M">1</int>
> <int name="F">2</int>
> </lst>
> </lst>
> <lst name="facet_dates"/>
> <lst name="facet_ranges"/>
> </lst>
> </lst>
> <!-- could have other ones -->
> <!-- this is the total counts -->
> <lst name="facet_counts">
> <lst name="facet_queries"/>
> <lst name="facet_fields">
> <lst name="gender">
> <int name="M">4</int>
> <int name="F">2</int>
> </lst>
> </lst>
> <lst name="facet_dates"/>
> <lst name="facet_ranges"/>
> </lst>
> </lst>
> {code}
> After group.field=<field> we want the facet counts to reflect the documents that have been grouped.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org