Apache Directory Project - Re: svn commit: r567310 - in /directory/apacheds/trunk: core/src/main/java/org/apache/

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > August 2007 > Re: svn commit: r567310 - in /directory/apacheds/trunk: core/src/main/java/org/apache/





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: svn commit: r567310 - in /directory/apacheds/trunk: core/src/main/java/org/apache/
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:


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com