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

LegacyNumericDocValuesWrapper should only check bits when the value is != 0

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This is what we did with the random-access API in order to save lookups in the bit set that stores documents that have a value for the field. See for instance FieldComparator.LongComparator.compareBottom in 6.x.

        Issue Links

          Activity

          Hide
          jpountz Adrien Grand added a comment -

          Here is a patch.

          Show
          jpountz Adrien Grand added a comment - Here is a patch.
          Hide
          mikemccand Michael McCandless added a comment -

          +1

          Show
          mikemccand Michael McCandless added a comment - +1
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit d0ff2d2735170b226e1fead100b9a4c0c0dcb50a in lucene-solr's branch refs/heads/master from Adrien Grand
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d0ff2d2 ]

          LUCENE-7459: LegacyNumericDocValuesWrapper should check the value before the bits for docs that have a value.

          Show
          jira-bot ASF subversion and git services added a comment - Commit d0ff2d2735170b226e1fead100b9a4c0c0dcb50a in lucene-solr's branch refs/heads/master from Adrien Grand [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d0ff2d2 ] LUCENE-7459 : LegacyNumericDocValuesWrapper should check the value before the bits for docs that have a value.

            People

            • Assignee:
              jpountz Adrien Grand
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development