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

Thomas Mueller updated OAK-3000:
--------------------------------
    Attachment: OAK-3000-b.patch

OAK-3000-b.patch

This patch fixes all the known issues with the current code. OOM is no longer 
possible, and highlighting does not break apart if the search text contains 
pieces of the term "<strong>". 

> 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