Re: [Fedora-directory-devel] query processing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



discover wrote:

If you have query like (|(objectclass=*)(objectclass=ldapsubentry)), may a scope=0, as for I know the filters get evaluated independently first i.e objectclass=* then objectclass=ldapsubentry , then an intersection of two sets is computed . The resulting entry ids would be checked against the ancestorid index for the subtree , scope to arrive at the final results . Is this a correct understanding ?

Nope. For a base scope search the base entry is found alone (using the cache
and if it isn't in there the entrydn index). Then the filter is applied to the entry.


Is there any other way the scope is handled ?

You really need to read the code to understand how queries are processed.
Look at ldbm_search.c and filterindex.c.




[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux