Lucene - Core
  1. Lucene - Core
  2. LUCENE-2380

Add FieldCache.getTermBytes, to load term data as byte[]

    Details

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

      Description

      With flex, a term is now an opaque byte[] (typically, utf8 encoded unicode string, but not necessarily), so we need to push this up the search stack.

      FieldCache now has getStrings and getStringIndex; we need corresponding methods to load terms as native byte[], since in general they may not be representable as String. This should be quite a bit more RAM efficient too, for US ascii content since each character would then use 1 byte not 2.

      1. LUCENE-2380_direct_arr_access.patch
        5 kB
        Yonik Seeley
      2. LUCENE-2380_enum.patch
        9 kB
        Yonik Seeley
      3. LUCENE-2380_enum.patch
        7 kB
        Yonik Seeley
      4. LUCENE-2380.patch
        133 kB
        Michael McCandless
      5. LUCENE-2380.patch
        129 kB
        Michael McCandless
      6. LUCENE-2380.patch
        114 kB
        Michael McCandless
      7. LUCENE-2380.patch
        92 kB
        Michael McCandless

        Issue Links

          Activity

          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Link This issue is depended upon by LUCENE-2426 [ LUCENE-2426 ]
          Gavin made changes -
          Link This issue blocks LUCENE-2426 [ LUCENE-2426 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12564284 ] jira [ 12584097 ]
          Mark Thomas made changes -
          Workflow jira [ 12507756 ] Default workflow, editable Closed status [ 12564284 ]
          Yonik Seeley made changes -
          Attachment LUCENE-2380_direct_arr_access.patch [ 12447532 ]
          Yonik Seeley made changes -
          Attachment LUCENE-2380_enum.patch [ 12447080 ]
          Yonik Seeley made changes -
          Attachment LUCENE-2380_enum.patch [ 12446413 ]
          Michael McCandless made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Michael McCandless made changes -
          Attachment LUCENE-2380.patch [ 12445806 ]
          Michael McCandless made changes -
          Attachment LUCENE-2380.patch [ 12445440 ]
          Michael McCandless made changes -
          Attachment LUCENE-2380.patch [ 12445397 ]
          Michael McCandless made changes -
          Attachment LUCENE-2380.patch [ 12444816 ]
          Michael McCandless made changes -
          Assignee Michael McCandless [ mikemccand ]
          Robert Muir made changes -
          Component/s Search [ 12310235 ]
          Uwe Schindler made changes -
          Fix Version/s 4.0 [ 12314025 ]
          Fix Version/s 3.1 [ 12314822 ]
          Uwe Schindler made changes -
          Fix Version/s 4.0.0 [ 12314822 ]
          Fix Version/s 3.1 [ 12314025 ]
          Michael McCandless made changes -
          Link This issue blocks LUCENE-2426 [ LUCENE-2426 ]
          Michael McCandless made changes -
          Field Original Value New Value
          Link This issue blocks LUCENE-2364 [ LUCENE-2364 ]
          Michael McCandless created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development