lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn van Groningen (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (SOLR-2898) Support grouped faceting
Date Sat, 21 Apr 2012 09:02:33 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258815#comment-13258815
] 

Martijn van Groningen edited comment on SOLR-2898 at 4/21/12 9:01 AM:
----------------------------------------------------------------------

Bjorn: Right now I don't have an idea when this will be added. If you want you can make a
new Jira issue to support grouped range and query facets.

David: The FacetComponent and StatsComponent operate on a DocSet computed by the QueryComponent.
The QueryComponent creates either a ungrouped DocSet or a grouped DocSet when group.truncate
is enabled. So instead of creating one DocSet, the QueryComponent then needs to generate two
DocSets (grouped & ungrouped), so that the StatsComponent can operate on the ungrouped
DocSet when group.truncate is enabled and the FacetComponent can operate on the grouped DocSet.
This should be controlled with a special parameter. Maybe something like this: group.computeStats=GROUPED|UNGROUPED

                
      was (Author: martijn.v.groningen):
    Bjorn: Right now I don't have an idea when this will be added. If you want you can make
a new Jira issue to support grouped range and query facets.

David: The FacetComponent operates on a DocSet computed by the QueryComponent. Grouped facets
works only as expected on the ungrouped DocSet which is created by default. The QueryComponent
creates a grouped DocSet when group.truncate is enabled. So instead of creating one DocSet,
the QueryComponent then needs to generate two DocSets (grouped & ungrouped), so that the
StatsComponent can operate on the grouped DocSet when group.truncate is enabled and the FacetComponent
can operate on the ungrouped docset when group.facet is enabled.
                  
> Support grouped faceting
> ------------------------
>
>                 Key: SOLR-2898
>                 URL: https://issues.apache.org/jira/browse/SOLR-2898
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Martijn van Groningen
>             Fix For: 4.0
>
>         Attachments: SOLR-2898.patch, SOLR-2898.patch, SOLR-2898.patch, SOLR-2898.patch
>
>
> Support grouped faceting. As described in LUCENE-3097 (matrix counts).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


Mime
View raw message