Lucene - Core
  1. Lucene - Core
  2. LUCENE-3686

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: modules/facet
    • Labels:
      None
    • Lucene Fields:
      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).

        Activity

        Hide
        Sivan Yogev added a comment -

        My first Lucene patch

        Show
        Sivan Yogev added a comment - My first Lucene patch
        Hide
        Shai Erera added a comment -

        Patch looks good (many formatting changes though). I added a CHANGES entry under contrib/CHANGES.txt.

        Committed revision 1230429 (3x).
        Committed revision 1230431 (trunk).

        Thanks Sivan !

        Show
        Shai Erera added a comment - Patch looks good (many formatting changes though). I added a CHANGES entry under contrib/CHANGES.txt. Committed revision 1230429 (3x). Committed revision 1230431 (trunk). Thanks Sivan !

          People

          • Assignee:
            Shai Erera
            Reporter:
            Sivan Yogev
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development