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

Chetan Mehrotra commented on OAK-3000:
--------------------------------------

bq. I guess to avoid out of memory, and to give more reasonable results, we 
should change the highlighter to use a BitField to remember which characters 
are to be highlighted

[~tmueller] I am not sure weather we should further invest in 
SimpleExcerptProvider. Instead we should switch to Lucene based highlighter 
which should be more feature rich and robust

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