lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma (JIRA)" <>
Subject [jira] [Commented] (SOLR-10952) Exact*Stats are ignored due to query result cache
Date Tue, 20 Feb 2018 11:49:00 GMT


Markus Jelsma commented on SOLR-10952:

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:
>             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

> {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;h=7c44862 . So, to
reproduce, it needs to be rolled back. 

This message was sent by Atlassian JIRA

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

View raw message