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

contrary to documentation Document.get(field) on numeric field returns null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0, 6.0
    • Component/s: core/search
    • Labels:
    • Environment:

      Darwin e4-ce-8f-0f-c2-b0.dummy.porta.siemens.net 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64

    • Lucene Fields:
      New

      Description

      A call to Numeric num = indexableField.numericValue() comes up with a correct value, whereas Document.get(field) yields null.

        Attachments

        1. LUCENE-4218.patch
          2 kB
          Robert Muir
        2. LUCENE-4218.patch
          4 kB
          Robert Muir

          Activity

            People

            • Assignee:
              rcmuir Robert Muir
              Reporter:
              jamieb22 Jamie
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: