Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10952

Exact*Stats are ignored due to query result cache

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • search
    • None

    Description

      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

      • 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

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mkhl Mikhail Khludnev

            Dates

              Created:
              Updated:

              Slack

                Issue deployment