[ 
https://issues.apache.org/jira/browse/OAK-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14589714#comment-14589714
 ] 

Thomas Mueller commented on OAK-3000:
-------------------------------------

> I am not sure weather we should further invest in SimpleExcerptProvider

Well, you already did... I think either we remove the broken code (but I guess 
that's not so easy), or we fix it so that it doesn't break apart with even 
trivial parameters (for example, highlighting the character "s").

> SimpleExcerptProvider causes OOM for some wildcard expressions
> --------------------------------------------------------------
>
>                 Key: OAK-3000
>                 URL: https://issues.apache.org/jira/browse/OAK-3000
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Chetan Mehrotra
>             Fix For: 1.3.1, 1.2.3, 1.0.16
>
>         Attachments: OAK-3000-b.patch, OAK-3000.patch
>
>
> {{SimpleExcerptProvider}} would cause OOM is the search expression involves 
> wildcard in following form
> bq. fox *
> This causes an infinite loop leading to OOM



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to