You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2009/10/07 14:21:31 UTC

[jira] Created: (LUCENE-1953) FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException

FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException 
------------------------------------------------------------------------------------

                 Key: LUCENE-1953
                 URL: https://issues.apache.org/jira/browse/LUCENE-1953
             Project: Lucene - Java
          Issue Type: Bug
          Components: contrib/highlighter
    Affects Versions: 2.9
            Reporter: Koji Sekiguchi
            Priority: Trivial
             Fix For: 3.0


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: [jira] Created: (LUCENE-1953) FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException

Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
I cannot find "Assign this issue (to me)" link in Lucene JIRA.
Can someone help, please?

Koji

Koji Sekiguchi (JIRA) wrote:
> FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException 
> ------------------------------------------------------------------------------------
>
>                  Key: LUCENE-1953
>                  URL: https://issues.apache.org/jira/browse/LUCENE-1953
>              Project: Lucene - Java
>           Issue Type: Bug
>           Components: contrib/highlighter
>     Affects Versions: 2.9
>             Reporter: Koji Sekiguchi
>             Priority: Trivial
>              Fix For: 3.0
>
>
> If fragCharSize is smaller than Query string, StringIndexOutOfBoundsException is thrown.
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-1953) FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763526#action_12763526 ] 

Mark Miller commented on LUCENE-1953:
-------------------------------------

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 ...

> FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException 
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1953
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1953
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 2.9.1
>
>         Attachments: LUCENE-1953.patch
>
>
> If fragCharSize is smaller than Query string, StringIndexOutOfBoundsException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-1953) FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763082#action_12763082 ] 

Mark Miller commented on LUCENE-1953:
-------------------------------------

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.

> FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException 
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1953
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1953
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 2.9.1
>
>         Attachments: LUCENE-1953.patch
>
>
> If fragCharSize is smaller than Query string, StringIndexOutOfBoundsException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Resolved: (LUCENE-1953) FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi resolved LUCENE-1953.
------------------------------------

    Resolution: Fixed

Thanks, Mark!

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

> FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException 
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1953
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1953
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 2.9.1
>
>         Attachments: LUCENE-1953.patch
>
>
> If fragCharSize is smaller than Query string, StringIndexOutOfBoundsException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-1953) FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763497#action_12763497 ] 

Koji Sekiguchi commented on LUCENE-1953:
----------------------------------------

bq. 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:

{code}
[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)
{code}

Can you commit it for me please?

> FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException 
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1953
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1953
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 2.9.1
>
>         Attachments: LUCENE-1953.patch
>
>
> If fragCharSize is smaller than Query string, StringIndexOutOfBoundsException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-1953) FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763505#action_12763505 ] 

Mark Miller commented on LUCENE-1953:
-------------------------------------

just committed Koji.

> FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException 
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1953
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1953
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 2.9.1
>
>         Attachments: LUCENE-1953.patch
>
>
> If fragCharSize is smaller than Query string, StringIndexOutOfBoundsException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Issue Comment Edited: (LUCENE-1953) FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763497#action_12763497 ] 

Koji Sekiguchi edited comment on LUCENE-1953 at 10/8/09 6:52 AM:
-----------------------------------------------------------------

Committed revision 823170 in trunk.

bq. 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:

{code}
[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)
{code}

Can you commit it for me please?

      was (Author: koji):
    bq. 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:

{code}
[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)
{code}

Can you commit it for me please?
  
> FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException 
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1953
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1953
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 2.9.1
>
>         Attachments: LUCENE-1953.patch
>
>
> If fragCharSize is smaller than Query string, StringIndexOutOfBoundsException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-1953) FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated LUCENE-1953:
--------------------------------

    Fix Version/s:     (was: 3.0)
                   2.9.1

> FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException 
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1953
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1953
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 2.9.1
>
>         Attachments: LUCENE-1953.patch
>
>
> If fragCharSize is smaller than Query string, StringIndexOutOfBoundsException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-1953) FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi updated LUCENE-1953:
-----------------------------------

    Attachment: LUCENE-1953.patch

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

> FastVectorHighlighter: small fragCharSize can cause StringIndexOutOfBoundsException 
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENE-1953
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1953
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>    Affects Versions: 2.9
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>             Fix For: 3.0
>
>         Attachments: LUCENE-1953.patch
>
>
> If fragCharSize is smaller than Query string, StringIndexOutOfBoundsException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org