Emmanuel Lecharny created DIRSERVER-2276:
--------------------------------------------
Summary: Index like
(&(modifyTimestamp>=20190429000000Z)(modifyTimestamp<=20190430000000Z)) should
be fast
Key: DIRSERVER-2276
URL: https://issues.apache.org/jira/browse/DIRSERVER-2276
Project: Directory ApacheDS
Issue Type: Improvement
Components: search
Affects Versions: 2.0.0.AM25
Reporter: Emmanuel Lecharny
Fix For: 2.0.0
When we use an indexed attribute, like on {{modifyTimestamp}}, searches done
with a filter like
{{(&(modifyTimestamp>=20190429000000Z)(modifyTimestamp<=20190430000000Z))}}
should leverage the fact that the values are ordered to limit the number of
candidates.
That would require some analysis of the filter to see if we have such double
boundaries.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)