[jira] Updated: (LUCENE-1500) Highlighter throws StringIndexOutOfBoundsException

2009-03-13 Thread Mark Harwood (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Harwood updated LUCENE-1500:
-

Attachment: Lucene-1500-NewException.patch

With updated Apache license header.

I'll commit soon if no objections

> Highlighter throws StringIndexOutOfBoundsException
> --
>
> Key: LUCENE-1500
> URL: https://issues.apache.org/jira/browse/LUCENE-1500
> Project: Lucene - Java
>  Issue Type: Bug
>  Components: contrib/highlighter
>Affects Versions: 2.4
> Environment: Found this running the example code in Solr (latest 
> version).
>Reporter: David Bowen
>Assignee: Mark Harwood
> Fix For: 2.9
>
> Attachments: Lucene-1500-NewException.patch, 
> Lucene-1500-NewException.patch, LUCENE-1500.patch, patch.txt
>
>
> Using the canonical Solr example (ant run-example) I added this document 
> (using exampledocs/post.sh):
> 
>   Test for Highlighting 
> StringIndexOutOfBoundsExcdption
>   Some Name
>   Acme, Inc.
>   Description of the features, mentioning various 
> things
>   Features also is multivalued
>   6
>   true
> 
> and then the URL 
> http://localhost:8983/solr/select/?q=features&hl=true&hl.fl=features caused 
> the exception.
> I have a patch.  I don't know if it is completely correct, but it avoids this 
> exception.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org



[jira] Updated: (LUCENE-1500) Highlighter throws StringIndexOutOfBoundsException

2009-03-09 Thread Mark Harwood (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Harwood updated LUCENE-1500:
-

Attachment: Lucene-1500-NewException.patch

Added support for testing both Token start or end offset >text.length.

Added javadoc comments for new exception

> Highlighter throws StringIndexOutOfBoundsException
> --
>
> Key: LUCENE-1500
> URL: https://issues.apache.org/jira/browse/LUCENE-1500
> Project: Lucene - Java
>  Issue Type: Bug
>  Components: contrib/highlighter
>Affects Versions: 2.4
> Environment: Found this running the example code in Solr (latest 
> version).
>Reporter: David Bowen
>Assignee: Mark Harwood
> Fix For: 2.9
>
> Attachments: Lucene-1500-NewException.patch, LUCENE-1500.patch, 
> patch.txt
>
>
> Using the canonical Solr example (ant run-example) I added this document 
> (using exampledocs/post.sh):
> 
>   Test for Highlighting 
> StringIndexOutOfBoundsExcdption
>   Some Name
>   Acme, Inc.
>   Description of the features, mentioning various 
> things
>   Features also is multivalued
>   6
>   true
> 
> and then the URL 
> http://localhost:8983/solr/select/?q=features&hl=true&hl.fl=features caused 
> the exception.
> I have a patch.  I don't know if it is completely correct, but it avoids this 
> exception.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org



[jira] Updated: (LUCENE-1500) Highlighter throws StringIndexOutOfBoundsException

2009-03-09 Thread Mark Harwood (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Harwood updated LUCENE-1500:
-

Attachment: (was: Lucene-1500-NewException.patch)

> Highlighter throws StringIndexOutOfBoundsException
> --
>
> Key: LUCENE-1500
> URL: https://issues.apache.org/jira/browse/LUCENE-1500
> Project: Lucene - Java
>  Issue Type: Bug
>  Components: contrib/highlighter
>Affects Versions: 2.4
> Environment: Found this running the example code in Solr (latest 
> version).
>Reporter: David Bowen
>Assignee: Mark Harwood
> Fix For: 2.9
>
> Attachments: LUCENE-1500.patch, patch.txt
>
>
> Using the canonical Solr example (ant run-example) I added this document 
> (using exampledocs/post.sh):
> 
>   Test for Highlighting 
> StringIndexOutOfBoundsExcdption
>   Some Name
>   Acme, Inc.
>   Description of the features, mentioning various 
> things
>   Features also is multivalued
>   6
>   true
> 
> and then the URL 
> http://localhost:8983/solr/select/?q=features&hl=true&hl.fl=features caused 
> the exception.
> I have a patch.  I don't know if it is completely correct, but it avoids this 
> exception.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org



[jira] Updated: (LUCENE-1500) Highlighter throws StringIndexOutOfBoundsException

2009-03-02 Thread Michael McCandless (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless updated LUCENE-1500:
---

Lucene Fields: [New, Patch Available]  (was: [Patch Available, New])
Fix Version/s: (was: 2.4.1)

I think given the addition of a checked exception to the Highlighter API, we 
should not back-port this to 2.4.1.

> Highlighter throws StringIndexOutOfBoundsException
> --
>
> Key: LUCENE-1500
> URL: https://issues.apache.org/jira/browse/LUCENE-1500
> Project: Lucene - Java
>  Issue Type: Bug
>  Components: contrib/highlighter
>Affects Versions: 2.4
> Environment: Found this running the example code in Solr (latest 
> version).
>Reporter: David Bowen
>Assignee: Michael McCandless
> Fix For: 2.9
>
> Attachments: Lucene-1500-NewException.patch, LUCENE-1500.patch, 
> patch.txt
>
>
> Using the canonical Solr example (ant run-example) I added this document 
> (using exampledocs/post.sh):
> 
>   Test for Highlighting 
> StringIndexOutOfBoundsExcdption
>   Some Name
>   Acme, Inc.
>   Description of the features, mentioning various 
> things
>   Features also is multivalued
>   6
>   true
> 
> and then the URL 
> http://localhost:8983/solr/select/?q=features&hl=true&hl.fl=features caused 
> the exception.
> I have a patch.  I don't know if it is completely correct, but it avoids this 
> exception.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org



[jira] Updated: (LUCENE-1500) Highlighter throws StringIndexOutOfBoundsException

2009-03-01 Thread Mark Harwood (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Harwood updated LUCENE-1500:
-

Attachment: Lucene-1500-NewException.patch

Attached a patch with new checked exception.
This will have a knock-on effect on all Highlighter client code (Solr?) as it 
introduces a new checked exception that must be handled.

> Highlighter throws StringIndexOutOfBoundsException
> --
>
> Key: LUCENE-1500
> URL: https://issues.apache.org/jira/browse/LUCENE-1500
> Project: Lucene - Java
>  Issue Type: Bug
>  Components: contrib/highlighter
>Affects Versions: 2.4
> Environment: Found this running the example code in Solr (latest 
> version).
>Reporter: David Bowen
>Assignee: Michael McCandless
> Fix For: 2.4.1, 2.9
>
> Attachments: Lucene-1500-NewException.patch, LUCENE-1500.patch, 
> patch.txt
>
>
> Using the canonical Solr example (ant run-example) I added this document 
> (using exampledocs/post.sh):
> 
>   Test for Highlighting 
> StringIndexOutOfBoundsExcdption
>   Some Name
>   Acme, Inc.
>   Description of the features, mentioning various 
> things
>   Features also is multivalued
>   6
>   true
> 
> and then the URL 
> http://localhost:8983/solr/select/?q=features&hl=true&hl.fl=features caused 
> the exception.
> I have a patch.  I don't know if it is completely correct, but it avoids this 
> exception.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org



[jira] Updated: (LUCENE-1500) Highlighter throws StringIndexOutOfBoundsException

2009-02-25 Thread Michael McCandless (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless updated LUCENE-1500:
---

Lucene Fields: [New, Patch Available]  (was: [Patch Available, New])
Fix Version/s: 2.9
   2.4.1

> Highlighter throws StringIndexOutOfBoundsException
> --
>
> Key: LUCENE-1500
> URL: https://issues.apache.org/jira/browse/LUCENE-1500
> Project: Lucene - Java
>  Issue Type: Bug
>  Components: contrib/highlighter
>Affects Versions: 2.4
> Environment: Found this running the example code in Solr (latest 
> version).
>Reporter: David Bowen
> Fix For: 2.4.1, 2.9
>
> Attachments: LUCENE-1500.patch, patch.txt
>
>
> Using the canonical Solr example (ant run-example) I added this document 
> (using exampledocs/post.sh):
> 
>   Test for Highlighting 
> StringIndexOutOfBoundsExcdption
>   Some Name
>   Acme, Inc.
>   Description of the features, mentioning various 
> things
>   Features also is multivalued
>   6
>   true
> 
> and then the URL 
> http://localhost:8983/solr/select/?q=features&hl=true&hl.fl=features caused 
> the exception.
> I have a patch.  I don't know if it is completely correct, but it avoids this 
> exception.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org



[jira] Updated: (LUCENE-1500) Highlighter throws StringIndexOutOfBoundsException

2009-02-24 Thread Peter Wolanin (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Wolanin updated LUCENE-1500:
--

Attachment: LUCENE-1500.patch

> Highlighter throws StringIndexOutOfBoundsException
> --
>
> Key: LUCENE-1500
> URL: https://issues.apache.org/jira/browse/LUCENE-1500
> Project: Lucene - Java
>  Issue Type: Bug
>  Components: contrib/highlighter
>Affects Versions: 2.4
> Environment: Found this running the example code in Solr (latest 
> version).
>Reporter: David Bowen
> Attachments: LUCENE-1500.patch, patch.txt
>
>
> Using the canonical Solr example (ant run-example) I added this document 
> (using exampledocs/post.sh):
> 
>   Test for Highlighting 
> StringIndexOutOfBoundsExcdption
>   Some Name
>   Acme, Inc.
>   Description of the features, mentioning various 
> things
>   Features also is multivalued
>   6
>   true
> 
> and then the URL 
> http://localhost:8983/solr/select/?q=features&hl=true&hl.fl=features caused 
> the exception.
> I have a patch.  I don't know if it is completely correct, but it avoids this 
> exception.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org



[jira] Updated: (LUCENE-1500) Highlighter throws StringIndexOutOfBoundsException

2008-12-22 Thread David Bowen (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Bowen updated LUCENE-1500:


Attachment: patch.txt

> Highlighter throws StringIndexOutOfBoundsException
> --
>
> Key: LUCENE-1500
> URL: https://issues.apache.org/jira/browse/LUCENE-1500
> Project: Lucene - Java
>  Issue Type: Bug
>  Components: contrib/highlighter
>Affects Versions: 2.4
> Environment: Found this running the example code in Solr (latest 
> version).
>Reporter: David Bowen
> Attachments: patch.txt
>
>
> Using the canonical Solr example (ant run-example) I added this document 
> (using exampledocs/post.sh):
> 
>   Test for Highlighting 
> StringIndexOutOfBoundsExcdption
>   Some Name
>   Acme, Inc.
>   Description of the features, mentioning various 
> things
>   Features also is multivalued
>   6
>   true
> 
> and then the URL 
> http://localhost:8983/solr/select/?q=features&hl=true&hl.fl=features caused 
> the exception.
> I have a patch.  I don't know if it is completely correct, but it avoids this 
> exception.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org