| Martin Alderson 2007-08-18, 7:11 pm |
| Hi Alex,
We need both the entries that don't pass the specified filter for the
attribute, and those that don't have the attribute at all. We would
need a way to get all entries that are not contained in the index for
the attribute and a way to join that enumeration to the one we had in
the old code (which should be easy enough with a JoinedEnumeration class).
I think the current attribute indices need to be modified to store a
list of entries that do not have the attribute. Each index will then
take up a bit more space. All existing ApacheDS installations would
also need their attribute indices rebuilding too.
What do you think?
Martin
Alex Karasulu wrote:[vbcol=seagreen]
> Is there no way to use indices with searches that use a negation operator in
> the filter? I'm feeling
> like perhaps we're nixing out the whole thing to solve the problem. Then
> again what's the performance
> impact of a full master scan verses a full index scan.
>
> Alex
>
> On 8/18/07, malderson-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org <malderson-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org> wrote:
|