lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Black (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-3196) partialResults response header not propagated in distributed search
Date Tue, 06 Mar 2012 23:21:59 GMT


Russell Black commented on SOLR-3196:

I looked into writing a test case for this, but ran into some difficulties.  The problem is
that for the small data sets used by the test cases, all queries return within 1 millisecond,
so I can't force the timeout.  (1 ms is the lowest value supported for the timeAllowed parameter,
passing 0 is the same as not passing a timeout).  I haven't been able to come up with a query
that takes sufficiently long to test {{timeAllowed}}.  It appears that there are no test cases
that test for the presence of the {{partialResults}} header even for non-distributed searches.
 I am confident that this patch works, however, since I have tested it thoroughly in our own
index.  It's a pretty uncomplicated patch.  
> partialResults response header not propagated in distributed search
> -------------------------------------------------------------------
>                 Key: SOLR-3196
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 3.5, 4.0
>            Reporter: Russell Black
>              Labels: patch
>         Attachments: SOLR-3196-partialResults-header.patch
> For {{timeAllowed=true}} requests, the response contains a {{partialResults}} header
that indicates when a search was terminated early due to running out of time.  This header
is being discarded by the collator.  Patch to follow.  

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message