lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Grainger (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (SOLR-2898) Support grouped faceting
Date Thu, 08 Dec 2011 11:36:40 GMT

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

Ian Grainger edited comment on SOLR-2898 at 12/8/11 11:36 AM:
--------------------------------------------------------------

A thought on this problem - I have a workaround which involves separate facet queries for
the grouped facets using a different sort (so matching grouped records are always first in
the group if available).

I don't know how this works internally, but might it be possible to add a sort to the facet
query? Like: {{ facet.query={!sort=Monitor_ID+asc}Monitor_ID:[1+TO+9999] }}
?
                
      was (Author: iangrainger):
    A thought on this problem - I have a workaround which involves separate facet queries
for the grouped facets using a different sort (so matching grouped records are always first
in the group if available).

I don't know how this works internally, but might it be possible to add a sort to the facet
query? Like: {{facet.query={!sort=Monitor_ID+asc}Monitor_ID:[1+TO+9999]}}
?
                  
> 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
>         Attachments: 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