Lucene - Core
  1. Lucene - Core
  2. LUCENE-5394

TokenSources.getTokenStream doesn't return payloads

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6.1, 5.0
    • Component/s: modules/highlighter
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      In LUCENE-1888, we enabled indexing payloads into term vectors, but
      the highlighter APIs that "reconstruct" a token stream from term
      vectors fail to plumb through the payloads if they were indexed.

      1. LUCENE-5394.patch
        11 kB
        Michael McCandless

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1557445 from Michael McCandless in branch 'dev/branches/lucene_solr_4_6'
        [ https://svn.apache.org/r1557445 ]

        LUCENE-5394: Fix TokenSources.getTokenStream to return payloads if they were indexed with term vectors

        Show
        ASF subversion and git services added a comment - Commit 1557445 from Michael McCandless in branch 'dev/branches/lucene_solr_4_6' [ https://svn.apache.org/r1557445 ] LUCENE-5394 : Fix TokenSources.getTokenStream to return payloads if they were indexed with term vectors
        Hide
        ASF subversion and git services added a comment -

        Commit 1557442 from Michael McCandless in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1557442 ]

        LUCENE-5394: Fix TokenSources.getTokenStream to return payloads if they were indexed with term vectors

        Show
        ASF subversion and git services added a comment - Commit 1557442 from Michael McCandless in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1557442 ] LUCENE-5394 : Fix TokenSources.getTokenStream to return payloads if they were indexed with term vectors
        Hide
        ASF subversion and git services added a comment -

        Commit 1557439 from Michael McCandless in branch 'dev/trunk'
        [ https://svn.apache.org/r1557439 ]

        LUCENE-5394: Fix TokenSources.getTokenStream to return payloads if they were indexed with term vectors

        Show
        ASF subversion and git services added a comment - Commit 1557439 from Michael McCandless in branch 'dev/trunk' [ https://svn.apache.org/r1557439 ] LUCENE-5394 : Fix TokenSources.getTokenStream to return payloads if they were indexed with term vectors
        Hide
        Uwe Schindler added a comment -

        Looks OK. Although I hate that this code still uses Token class. But that is unrelated.

        Show
        Uwe Schindler added a comment - Looks OK. Although I hate that this code still uses Token class. But that is unrelated.
        Hide
        Michael McCandless added a comment -

        Patch, I think it's ready. I'll commit soon.

        Show
        Michael McCandless added a comment - Patch, I think it's ready. I'll commit soon.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development