Lucene - Core
  1. Lucene - Core
  2. LUCENE-2424

FieldDoc.toString only returns super.toString

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 2.9.3, 3.0.2, 3.1, 4.0-ALPHA
    • Component/s: core/search
    • Labels:
      None
    • Environment:

      Mac OSX

    • Lucene Fields:
      New

      Description

      The FieldDoc.toString method very carefully builds a StringBuffer sb containing the information for the FieldDoc instance and then just returns super.toString() instead of sb.toString()

      1. LUCENE-2424.patch
        0.4 kB
        Stephen Green

        Activity

        Hide
        Stephen Green added a comment -

        A very simple patch to fix this problem.

        Show
        Stephen Green added a comment - A very simple patch to fix this problem.
        Hide
        Michael McCandless added a comment -

        Woops, that's silly – I'll commit shortly. Thanks Stephen!

        Show
        Michael McCandless added a comment - Woops, that's silly – I'll commit shortly. Thanks Stephen!
        Hide
        Michael McCandless added a comment -

        Thanks Stephen!

        Show
        Michael McCandless added a comment - Thanks Stephen!
        Hide
        Michael McCandless added a comment -

        backport

        Show
        Michael McCandless added a comment - backport

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Stephen Green
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development