[jira] Created: (SOLR-497) SolrJ QueryResponse does not support date faceting results

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (SOLR-497) SolrJ QueryResponse does not support date faceting results

JIRA jira@apache.org
SolrJ QueryResponse does not support date faceting results
----------------------------------------------------------

                 Key: SOLR-497
                 URL: https://issues.apache.org/jira/browse/SOLR-497
             Project: Solr
          Issue Type: Improvement
            Reporter: Grant Ingersoll
            Assignee: Grant Ingersoll
            Priority: Minor
             Fix For: 1.3


The QueryResponse provides getFacetFields for drilling down into facets.  It would also be handy to have similar info for facet dates.

The workaround now is to go through the higher level NamedList

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (SOLR-497) SolrJ QueryResponse does not support date faceting results

JIRA jira@apache.org

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

Grant Ingersoll updated SOLR-497:
---------------------------------

    Description: The QueryResponse provides getFacetFields for drilling down into facets.  It would also be handy to have similar info for facet dates.  (was: The QueryResponse provides getFacetFields for drilling down into facets.  It would also be handy to have similar info for facet dates.

The workaround now is to go through the higher level NamedList )

> SolrJ QueryResponse does not support date faceting results
> ----------------------------------------------------------
>
>                 Key: SOLR-497
>                 URL: https://issues.apache.org/jira/browse/SOLR-497
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.3
>
>
> The QueryResponse provides getFacetFields for drilling down into facets.  It would also be handy to have similar info for facet dates.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (SOLR-497) SolrJ QueryResponse does not support date faceting results

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Shalin Shekhar Mangar updated SOLR-497:
---------------------------------------

    Attachment: SOLR-497.patch

With your permission Grant, here's a patch to add this functionality.

Since the facet.date response is not a homogenous NamedList of Numbers, I added the non-number members of facet date response such as GAP and END as attributes in FacetField.java The rest of the facet date responses such as date values and facet.date.other params are handling as FacetField.Count objects

QueryResponse has a new method getFacetDates which returns a list of FacetField (modified as above).

A simple test with a xml response for testing has been added.

> SolrJ QueryResponse does not support date faceting results
> ----------------------------------------------------------
>
>                 Key: SOLR-497
>                 URL: https://issues.apache.org/jira/browse/SOLR-497
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-497.patch
>
>
> The QueryResponse provides getFacetFields for drilling down into facets.  It would also be handy to have similar info for facet dates.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Updated: (SOLR-497) SolrJ QueryResponse does not support date faceting results

Shalin Shekhar Mangar
Hi Grant,

Did you get a chance to look at this patch? Let me know if you've any
suggestions that you need me to incorporate.

On Tue, Mar 11, 2008 at 12:34 PM, Shalin Shekhar Mangar (JIRA)
<[hidden email]> wrote:

>
>      [ https://issues.apache.org/jira/browse/SOLR-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
>  Shalin Shekhar Mangar updated SOLR-497:
>  ---------------------------------------
>
>     Attachment: SOLR-497.patch
>
>  With your permission Grant, here's a patch to add this functionality.
>
>  Since the facet.date response is not a homogenous NamedList of Numbers, I added the non-number members of facet date response such as GAP and END as attributes in FacetField.java The rest of the facet date responses such as date values and facet.date.other params are handling as FacetField.Count objects
>
>  QueryResponse has a new method getFacetDates which returns a list of FacetField (modified as above).
>
>  A simple test with a xml response for testing has been added.
>
>
>  > SolrJ QueryResponse does not support date faceting results
>  > ----------------------------------------------------------
>  >
>  >                 Key: SOLR-497
>  >                 URL: https://issues.apache.org/jira/browse/SOLR-497
>  >             Project: Solr
>  >          Issue Type: Improvement
>  >            Reporter: Grant Ingersoll
>  >            Assignee: Grant Ingersoll
>  >            Priority: Minor
>  >             Fix For: 1.3
>  >
>  >         Attachments: SOLR-497.patch
>
>
> >
>  >
>  > The QueryResponse provides getFacetFields for drilling down into facets.  It would also be handy to have similar info for facet dates.
>
>  --
>  This message is automatically generated by JIRA.
>  -
>  You can reply to this email to add a comment to the issue online.
>
>



--
Regards,
Shalin Shekhar Mangar.
Reply | Threaded
Open this post in threaded view
|

Re: [jira] Updated: (SOLR-497) SolrJ QueryResponse does not support date faceting results

Grant Ingersoll-2
I will check it out today or tomorrow, hopefully.


On Mar 16, 2008, at 10:09 AM, Shalin Shekhar Mangar wrote:

> Hi Grant,
>
> Did you get a chance to look at this patch? Let me know if you've any
> suggestions that you need me to incorporate.
>
> On Tue, Mar 11, 2008 at 12:34 PM, Shalin Shekhar Mangar (JIRA)
> <[hidden email]> wrote:
>>
>>     [ https://issues.apache.org/jira/browse/SOLR-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel 
>>  ]
>>
>> Shalin Shekhar Mangar updated SOLR-497:
>> ---------------------------------------
>>
>>    Attachment: SOLR-497.patch
>>
>> With your permission Grant, here's a patch to add this functionality.
>>
>> Since the facet.date response is not a homogenous NamedList of  
>> Numbers, I added the non-number members of facet date response such  
>> as GAP and END as attributes in FacetField.java The rest of the  
>> facet date responses such as date values and facet.date.other  
>> params are handling as FacetField.Count objects
>>
>> QueryResponse has a new method getFacetDates which returns a list  
>> of FacetField (modified as above).
>>
>> A simple test with a xml response for testing has been added.
>>
>>
>>> SolrJ QueryResponse does not support date faceting results
>>> ----------------------------------------------------------
>>>
>>>                Key: SOLR-497
>>>                URL: https://issues.apache.org/jira/browse/SOLR-497
>>>            Project: Solr
>>>         Issue Type: Improvement
>>>           Reporter: Grant Ingersoll
>>>           Assignee: Grant Ingersoll
>>>           Priority: Minor
>>>            Fix For: 1.3
>>>
>>>        Attachments: SOLR-497.patch
>>
>>
>>>
>>>
>>> The QueryResponse provides getFacetFields for drilling down into  
>>> facets.  It would also be handy to have similar info for facet  
>>> dates.
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.

--------------------------
Grant Ingersoll
http://www.lucenebootcamp.com
Next Training: April 7, 2008 at ApacheCon Europe in Amsterdam

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ





Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (SOLR-497) SolrJ QueryResponse does not support date faceting results

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Grant Ingersoll resolved SOLR-497.
----------------------------------

    Resolution: Fixed

Committed revision 638357.  Thanks Shalin!

> SolrJ QueryResponse does not support date faceting results
> ----------------------------------------------------------
>
>                 Key: SOLR-497
>                 URL: https://issues.apache.org/jira/browse/SOLR-497
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-497.patch
>
>
> The QueryResponse provides getFacetFields for drilling down into facets.  It would also be handy to have similar info for facet dates.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Reopened: (SOLR-497) SolrJ QueryResponse does not support date faceting results

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Hoss Man reopened SOLR-497:
---------------------------


FYI: the QueryResponseTest added by this patch has been failing in the nightly.sh build (but not the hudson build) since it was added.

reopening the issue until we figure out if it is a problem with teh coe added by this issue, or a larger underlying bug.

> SolrJ QueryResponse does not support date faceting results
> ----------------------------------------------------------
>
>                 Key: SOLR-497
>                 URL: https://issues.apache.org/jira/browse/SOLR-497
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-497.patch
>
>
> The QueryResponse provides getFacetFields for drilling down into facets.  It would also be handy to have similar info for facet dates.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (SOLR-497) SolrJ QueryResponse does not support date faceting results

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Hoss Man resolved SOLR-497.
---------------------------

    Resolution: Fixed

false alarm ... the probably was evidently an old version of ant/junit that didn't know abouthte new @Test based JUnit tests.

> SolrJ QueryResponse does not support date faceting results
> ----------------------------------------------------------
>
>                 Key: SOLR-497
>                 URL: https://issues.apache.org/jira/browse/SOLR-497
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-497.patch
>
>
> The QueryResponse provides getFacetFields for drilling down into facets.  It would also be handy to have similar info for facet dates.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.