You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2019/06/16 14:53:00 UTC

[jira] [Updated] (DIRSERVER-1070) [PERF]Substring Filters are evaluated for every single entry

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

Emmanuel Lecharny updated DIRSERVER-1070:
-----------------------------------------
    Component/s: search
                 code quality

> [PERF]Substring Filters are evaluated for every single entry 
> -------------------------------------------------------------
>
>                 Key: DIRSERVER-1070
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1070
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: code quality, search
>    Affects Versions: 1.5.1
>            Reporter: Emmanuel Lecharny
>            Priority: Major
>             Fix For: 2.0.0-RC2
>
>
> When applying a substring filter, we are using a very inefficient algorithm : the filter is transformed to a regexp for evey entry found. This can be avoided if the SubstringNode stores the regexp once it has been computed for the first entry.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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