[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Indexing integers



Sean Burford wrote:
Hi,

I have been looking for the index to apply to integer attributes to
speed up less than/greater than filters, but have turned up nothing.
These searches work, but eq and pres indexes don't seem to affect their
speed.

Is there an index that help with integer ordering searches?

In 2.4 the equality index is also used for ordering. You didn't mention the version you're using. There's no integer ordering indexing in 2.3.


--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/