sort on createTimestamp via JNDI

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

 



Hi,

the server does support the server-side sorting. However if the server
considers that the sorting task is too expensive it sends you an
error. When you sort on a certain attribute be sure
* to have an index on it with the corresponding matching rule
(http://www.redhat.com/docs/manuals/dir-server/8.1/admin/index-sort-order.html)
and
* be sure that the number of sorted entries does not exceeed
nsslapd-idlistscanlimit
(http://www.redhat.com/docs/manuals/dir-server/8.1/admin/Managing_Indexes.html),
otherwise the search will be considered unindexed and as a consequence
too expensive

Other than that the sorting works perfectly...



2010/1/29 Derek Alexander <d.alexander at lse.ac.uk>:
> Hi,
>
> Was trying to do a search against the directory, with results sorted on the createTimestamp
> attribute using JNDI.
>
> Got this back:
>
> javax.naming.OperationNotSupportedException: [LDAP: error code 12 - Sort Response Control];
> remaining name '...'
>
> Any idea of the reason for this?
>
> I was under the impression that server-side sorting was supported.
>
> Cheers,
> Derek
>
>
> Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/planningAndCorporatePolicy/legalandComplianceTeam/legal/disclaimer.htm
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux