Re: Index not working on M12

2013-07-18 Thread Kevin Hamilton
I am using the following as a base:
ou=phoneAuth,ou=umemdev,ou=system,dc=umem,dc=org

filter
(uuid=-##-##--#)

returning attributes are two other attributes I made.

I made the uuid attribute to act as a foreign key of sorts to link a user
to a certain other set of records we have.

I just tried to update on my local machine to M14 and reload all data after
making indexes and it works now. A problem with M12?

Thanks,
Kevin


On Wed, Jul 17, 2013 at 5:36 PM, Emmanuel Lécharny elecha...@gmail.comwrote:

 Le 7/17/13 9:55 PM, Kevin Hamilton a écrit :
  Hello,
 
  I am working off of M12 and I have a few indexes for some attributes
 that I
  added.
 
  I have a home-made attribute called uuid which basically associates a
  record to a user's actual entryUUID. the uuid attribute is stored as
 the
  string representation of the user's entryUUID. Everything seems to be
 fine
  when the server starts, but when I try to query based on that uuid
  attribute, it returns nothing.
 What is the exact query you are using ?

  If I get rid of the index for the uuid
  attribute, it will return searches appropriately.
 J-Have you added the index before having added the data ? (the index
 must exist before the data are injected into the server)


  It's quite possible that
  I'm doing something stupid. Are my Equality Matching settings incorrect?

 It seems so.

 Now, why don't you use the entryUUID for what you want to do ?


 --
 Regards,
 Cordialement,
 Emmanuel Lécharny
 www.iktek.com




Re: Index not working on M12

2013-07-18 Thread Emmanuel Lécharny
Le 7/18/13 2:19 PM, Kevin Hamilton a écrit :
 I am using the following as a base:
 ou=phoneAuth,ou=umemdev,ou=system,dc=umem,dc=org

 filter
 (uuid=-##-##--#)

 returning attributes are two other attributes I made.

 I made the uuid attribute to act as a foreign key of sorts to link a user
 to a certain other set of records we have.

 I just tried to update on my local machine to M14 and reload all data after
 making indexes and it works now. A problem with M12?

Yes. In some cases, when you had some concurrent reads and writes, the
index could be messed up in M12 and M13...


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 



Re: Index not working on M12

2013-07-17 Thread Emmanuel Lécharny
Le 7/17/13 9:55 PM, Kevin Hamilton a écrit :
 Hello,

 I am working off of M12 and I have a few indexes for some attributes that I
 added.

 I have a home-made attribute called uuid which basically associates a
 record to a user's actual entryUUID. the uuid attribute is stored as the
 string representation of the user's entryUUID. Everything seems to be fine
 when the server starts, but when I try to query based on that uuid
 attribute, it returns nothing. 
What is the exact query you are using ?

 If I get rid of the index for the uuid
 attribute, it will return searches appropriately. 
J-Have you added the index before having added the data ? (the index
must exist before the data are injected into the server)


 It's quite possible that
 I'm doing something stupid. Are my Equality Matching settings incorrect?

It seems so.

Now, why don't you use the entryUUID for what you want to do ?


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com