Lucene - Core
  1. Lucene - Core
  2. LUCENE-3231

Add fixed size DocValues int variants & expose Arrays where possible

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      currently we only have variable bit packed ints implementation. for flexible scoring or loading field caches it is desirable to have fixed int implementations for 8, 16, 32 and 64 bit.

      1. LUCENE-3231.patch
        68 kB
        Simon Willnauer
      2. LUCENE-3231.patch
        41 kB
        Simon Willnauer

        Issue Links

          Activity

          Hide
          Simon Willnauer added a comment -

          here is a super rough patch with nocommits (and even missing nocommits) showing the idea. this is heavy work in progress though

          Show
          Simon Willnauer added a comment - here is a super rough patch with nocommits (and even missing nocommits) showing the idea. this is heavy work in progress though
          Hide
          Michael McCandless added a comment -

          This looks great Simon!

          Show
          Michael McCandless added a comment - This looks great Simon!
          Hide
          Simon Willnauer added a comment -

          here is a new patch,

          • adds Field API for new int types
          • adds tests for getArray / hasArray
          • adds tests for new Int types
          • unifies some of the existing tests
          • adds javadocs

          I think we ready here... all tests pass

          Show
          Simon Willnauer added a comment - here is a new patch, adds Field API for new int types adds tests for getArray / hasArray adds tests for new Int types unifies some of the existing tests adds javadocs I think we ready here... all tests pass

            People

            • Assignee:
              Simon Willnauer
              Reporter:
              Simon Willnauer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development