[ 
https://issues.apache.org/jira/browse/SOLR-1351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan McKinley updated SOLR-1351:
--------------------------------

    Attachment: SOLR-1351-facet-same-field.patch

adding tests from these patches.

Rather then:
{code}

+                    ,"facet.date", "{!key=foo}" + f
+                    ,"f.foo.facet.date.start", "1976-07-01T00:00:00.000Z"
+                    ,"f.foo.facet.date.end",   
"1976-07-01T00:00:00.000Z+1MONTH"
+                    ,"f.foo.facet.date.gap",   "+1DAY"
+                    ,"f.foo.facet.date.other", "all"
+                    ,"facet.date", "{!key=bar}" + f
+                    ,"f.bar.facet.date.start", "1976-07-01T00:00:00.000Z"
+                    ,"f.bar.facet.date.end",   "1976-07-01T00:00:00.000Z+7DAY"
+                    ,"f.bar.facet.date.gap",   "+1DAY"
{code}

We now have:
{code}

                ,"facet.date", "{!key=foo " +
                  "facet.date.start=1976-07-01T00:00:00.000Z " +
                  "facet.date.end=1976-07-01T00:00:00.000Z+1MONTH " +
                  "facet.date.gap=+1DAY " +
                  "facet.date.other=all " +
                "}" + f
                ,"facet.date", "{!key=bar " +
                  "facet.date.start=1976-07-01T00:00:00.000Z " +
                  "facet.date.end=1976-07-01T00:00:00.000Z+7DAY " +
                  "facet.date.gap=+1DAY " +
                "}" + f
{code}

                
> facet on same field different ways
> ----------------------------------
>
>                 Key: SOLR-1351
>                 URL: https://issues.apache.org/jira/browse/SOLR-1351
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>             Fix For: 4.3
>
>         Attachments: SOLR-1351-B.patch, SOLR-1351-facet-same-field.patch, 
> SOLR-1351.patch
>
>
> There is a general need to facet on the same field in different ways 
> (different prefixes, different filters).  We need a way to express this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to