You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2018/02/20 11:49:00 UTC

[jira] [Comment Edited] (SOLR-10952) Exact*Stats are ignored due to query result cache

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

Markus Jelsma edited comment on SOLR-10952 at 2/20/18 11:48 AM:
----------------------------------------------------------------

I have this problem to!

Instead of disabling the cache if ExactStats is active, why are the results with ExactStats not cached instead? That makes much more sense, is it not?



was (Author: markus17):
I have this problem too!

Instead of disabling the cache if ExactStats is active, why are the results with ExactStats not cached instead? That makes much more sense, is it not?


> Exact*Stats are ignored due to query result cache
> -------------------------------------------------
>
>                 Key: SOLR-10952
>                 URL: https://issues.apache.org/jira/browse/SOLR-10952
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: search
>            Reporter: Mikhail Khludnev
>            Priority: Major
>
> the case is described at https://issues.apache.org/jira/browse/SOLR-10824?focusedCommentId=16062814&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16062814 
> {quote}
> * search id:11, got it cached in query results.
> * add docs, commit
> * it triggers cache regeneration, this query is executed per every shard. However, their scores are local only.
> * search id:11 again, got cache hit, retrieve local only scores. Ignore exact stats, even they are properly distributed via GET_TERM_STATS
> {quote}
> the seed to reproduce {{-ea -Dtestcase=TestExactSharedStatsCache -Dtests.method=test -Dtests.seed=EF21F7455842423F -Dtests.multiplier=2 -Dtests.slow=true -Dtests.locale=de-GR -Dtests.timezone=Etc/GMT-11 -Dtests.asserts=true -Dtests.file.encoding=UTF-8}}, note the test was fixed by https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7c44862 . So, to reproduce, it needs to be rolled back. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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