[Date Prev][Date Next]
Re: search practice
On Tue, 19 Jun 2007, Piotr Wadas wrote:
> Using openldap 2.3.35.
> I have some simpleString like "aaaBBBcccDDDeeeFFF", and I want
> to find entries, in which a specified attribute "mySearchAttr"
> has values like
> entry 1:
> entry 2:
> entry 3:
> entry 4:
> and example entries which should NOT be covered by search:
> entry 5:
> entry 6:
> entry 7:
I guess I found it - the key is ORDERING keyword with attribute
definition. mySearchAttr is an attribute defined in my own local.schema,
so I changed definition, adding
and reindexed directory.
Now I can use a filter like (mySearchAttr<=aaaBBBcccDDDeeeFFF) - all
attributes lexicographically less than or equal to simpleString, which
does the job - seems to work. If I'm mistaken, please correct me :) letter
case is not important for me in this particular situation.