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

AssertingIndexSearcher should do basic QueryUtils/etc checks on every query

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • New

    Description

      We can start with QueryUtils.check(query): which does some basic hashcode/equals checks.

      Ideally we'd strengthen the checks as we fix problems: e.g. add explanations verifications (checkExplanations) and then finally the more intense check() that does more verifications with deleted docs/next/advance.

      Attachments

        1. LUCENE-4934.patch
          16 kB
          Robert Muir
        2. LUCENE-4934.patch
          10 kB
          Robert Muir
        3. LUCENE-4934.patch
          6 kB
          Robert Muir
        4. LUCENE-4934.patch
          5 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: