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

Russell Black updated SOLR-3195:
--------------------------------

    Attachment: SOLR-3195-timeallowed-for-grouping.patch

OK, this patch subtracts time for the second phase.  The one thing I did 
differently from your suggestion was to use 
ShardResponse.getSolrResponse().getElapsedTime() instead of QTime, since it is 
a more accurate measurement of total time spent on the first phase.  If you 
want to use QTime, feel free to change it.  
                
> timeAllowed is ignored for grouping queries
> -------------------------------------------
>
>                 Key: SOLR-3195
>                 URL: https://issues.apache.org/jira/browse/SOLR-3195
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 3.5, 4.0
>            Reporter: Russell Black
>            Assignee: Martijn van Groningen
>              Labels: patch
>         Attachments: SOLR-3195-timeallowed-for-grouping.patch, 
> SOLR-3195-timeallowed-for-grouping.patch
>
>
> For grouping queries, the {{timeAllowed}} parameter is ignored.  I couldn't 
> find this limitation documented anywhere, and we would like to use that 
> feature in our production system.  I have created a patch that makes grouping 
> queries respect the {{timeAllowed}} parameter.  The test cases all pass, and 
> it and it seems to work well.  I added support for both distributed and 
> non-distributed grouping.  

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to