Lucene - Core
  1. Lucene - Core
  2. LUCENE-1953

FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9.1
    • Component/s: modules/highlighter
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      If fragCharSize is smaller than Query string, StringIndexOutOfBoundsException is thrown.

      1. LUCENE-1953.patch
        2 kB
        Koji Sekiguchi

        Activity

        Koji Sekiguchi created issue -
        Hide
        Koji Sekiguchi added a comment -

        Patch that includes the fix and test cases. Will commit soon.

        Show
        Koji Sekiguchi added a comment - Patch that includes the fix and test cases. Will commit soon.
        Koji Sekiguchi made changes -
        Field Original Value New Value
        Attachment LUCENE-1953.patch [ 12421522 ]
        Mark Miller made changes -
        Fix Version/s 2.9.1 [ 12314295 ]
        Fix Version/s 3.0 [ 12312889 ]
        Hide
        Mark Miller added a comment -

        Koji can't commit to the 2.9 branch can he? Not sure how that karma works - we can do it for him if not - lets wait to resolve until thats done though.

        Show
        Mark Miller added a comment - Koji can't commit to the 2.9 branch can he? Not sure how that karma works - we can do it for him if not - lets wait to resolve until thats done though.
        Hide
        Koji Sekiguchi added a comment - - edited

        Committed revision 823170 in trunk.

        Koji can't commit to the 2.9 branch can he? Not sure how that karma works - we can do it for him if not - lets wait to resolve until thats done though.

        I couldn't. The error I got:

        [koji@macbook COMMIT-1953-lucene_2_9]$ svn up
        At revision 823174.
        [koji@macbook COMMIT-1953-lucene_2_9]$ svn commit -m "LUCENE-1953: FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException"
        Sending        contrib/CHANGES.txt
        svn: Commit failed (details follow):
        svn: CHECKOUT of '/repos/asf/!svn/ver/818600/lucene/java/branches/lucene_2_9/contrib/CHANGES.txt': 403 Forbidden (https://svn.apache.org)
        

        Can you commit it for me please?

        Show
        Koji Sekiguchi added a comment - - edited Committed revision 823170 in trunk. Koji can't commit to the 2.9 branch can he? Not sure how that karma works - we can do it for him if not - lets wait to resolve until thats done though. I couldn't. The error I got: [koji@macbook COMMIT-1953-lucene_2_9]$ svn up At revision 823174. [koji@macbook COMMIT-1953-lucene_2_9]$ svn commit -m "LUCENE-1953: FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException" Sending contrib/CHANGES.txt svn: Commit failed (details follow): svn: CHECKOUT of '/repos/asf/!svn/ver/818600/lucene/java/branches/lucene_2_9/contrib/CHANGES.txt': 403 Forbidden (https: //svn.apache.org) Can you commit it for me please?
        Hide
        Mark Miller added a comment -

        just committed Koji.

        Show
        Mark Miller added a comment - just committed Koji.
        Hide
        Koji Sekiguchi added a comment -

        Thanks, Mark!

        BTW, I cannot assign myself because I cannot find "Assign" link in Lucene JIRA. Could anyone solve this problem?

        Show
        Koji Sekiguchi added a comment - Thanks, Mark! BTW, I cannot assign myself because I cannot find "Assign" link in Lucene JIRA. Could anyone solve this problem?
        Koji Sekiguchi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Mark Miller added a comment -

        I think that means someone has to give you JIRA power and hasn't yet - can't remember who to bug on that - Hoss or Grant I think? Perhaps the right person is watching ...

        Show
        Mark Miller added a comment - I think that means someone has to give you JIRA power and hasn't yet - can't remember who to bug on that - Hoss or Grant I think? Perhaps the right person is watching ...
        Hide
        Michael McCandless added a comment -

        Bulk close all 2.9.1 issues.

        Show
        Michael McCandless added a comment - Bulk close all 2.9.1 issues.
        Michael McCandless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12478853 ] Default workflow, editable Closed status [ 12562275 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12562275 ] jira [ 12583279 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Koji Sekiguchi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development