Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6419

Add AssertingQuery / two-phase iteration to AssertingScorer

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

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I am working on a similar issue with Spans (LUCENE-6411).

      AssertingScorer is currently only used as a top-level wrapper, and it doesnt support asserting for asTwoPhaseIterator (wouldn't help at the moment, the way it is currently used).

      Today some good testing of this is done, but only when RandomApproximationQuery is explicitly used.

      I think we should add AssertingQuery that can wrap a query with asserts and we can then have checks everywhere in a complicated tree?

        Attachments

          Activity

            People

            • Assignee:
              jpountz Adrien Grand
              Reporter:
              rcmuir Robert Muir

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment