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

null check all term/fields in queries

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2, 6.0
    • None
    • None
    • New

    Description

      See the mail thread "is this lucene 4.1.0 bug in PerFieldPostingsFormat".

      If anyone seriously thinks adding a null check to ctor will cause measurable slowdown to things like regexp or wildcards, they should have their head examined.

      All queries should just check this crap in ctor and throw exceptions if parameters are invalid.

      Attachments

        1. LUCENE-6345.patch
          16 kB
          Lee Hinman
        2. LUCENE-6345.patch
          16 kB
          Lee Hinman

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: