lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7990) timeAllowed is returning wrong results on the same query submitted with different timeAllowed limits
Date Tue, 08 Sep 2015 21:37:47 GMT

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

Yonik Seeley commented on SOLR-7990:
------------------------------------

I'm working on test fixes... my test changes were no good since the timeAllowed does not include
query parsing time (which is where the time goes in the sleep function).

> timeAllowed is returning wrong results on the same query submitted with different timeAllowed
limits
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7990
>                 URL: https://issues.apache.org/jira/browse/SOLR-7990
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.2.1, Trunk, 5.4
>            Reporter: Erick Erickson
>            Assignee: Yonik Seeley
>         Attachments: SOLR-7990.patch, SOLR-7990.patch, SOLR-7990.patch, SOLR-7990.patch,
SOLR-7990_filterFix.patch
>
>
> William Bell raised a question on the user's list. The scenario is
> > send a query that exceeds timeAllowed
> > send another identical query with larger timeAllowed that does NOT time out
> The results from the second query are not correct, they reflect the doc count from the
first query.
> It apparently has to do with filter queries being inappropriately created and re-used.
I've attached a test case that illustrates the problem.
> There are three tests here. 
> testFilterSimpleCase shows the problem.
> testCacheAssumptions is my hack at what I _think_ the states of the caches should be,
but has a bunch of clutter so I'm Ignoring it for now. This should be un-ignored and testFilterSimpleCase
removed when there's any fix proposed. The assumptions may not be correct though.
> testQueryResults shows what I think is a problem, the second call that does NOT exceed
timeAllowed still reports partial results.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message