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

EnhancementsPayloadIterator.getCategoryData(CategoryEnhancement) problematic usage of Object.equals()

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.6, 4.0-ALPHA
    • modules/facet
    • None
    • New, Patch Available

    Description

      EnhancementsPayloadIterator has an internal list of category enhancemnets, and in getCategoryData(CategoryEnhancement) there is a lookup of the given CategoryEnhancement in the list. In order to make sure this lookup works, CategoryEnhancement must override Object.equals(Object).

      Attachments

        1. LUCENE-3686.patch
          5 kB
          Sivan Yogev

        Activity

          People

            shaie Shai Erera
            sivany Sivan Yogev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: