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

Re: Index only works on 4+ characters?

At 02:56 PM 4/12/2004, Armbrust, Daniel C. wrote:
>I just ran into an odd occurrence - is there any reason that a search for (attributeName=*abc*) should fail to use an index, while (attributeName=*abcd*) will use the index?
>It looks like if I do a search for 3 or less characters, it fails to use the index.  

Because the index key length is defined (in slap.h) to be 4 characters.