]> git.sur5r.net Git - openldap/commitdiff
Boolean indexing support
authorKurt Zeilenga <kurt@openldap.org>
Sun, 23 Mar 2003 05:54:52 +0000 (05:54 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 23 Mar 2003 05:54:52 +0000 (05:54 +0000)
servers/slapd/schema_init.c

index 5118d23d46f6cd2aac6c9f7ae06e06e39d72ad2f..4c153e041dd911a311991e9937de4c63b8e2ed67 100644 (file)
 #define telephoneNumberSubstringsIndexer       caseExactIA5SubstringsIndexer
 #define telephoneNumberSubstringsFilter                caseExactIA5SubstringsFilter
 
+#define booleanIndexer                                 octetStringIndexer
+#define booleanFilter                                  octetStringFilter
 #endif
 
 /* validatation routines */
 #define telephoneNumberFilter                          caseIgnoreIA5Filter
 #define telephoneNumberSubstringsIndexer       caseIgnoreIA5SubstringsIndexer
 #define telephoneNumberSubstringsFilter                caseIgnoreIA5SubstringsFilter
+
+#define booleanIndexer                                 octetStringIndexer
+#define booleanFilter                                  octetStringFilter
 #endif
 
 
@@ -4917,7 +4922,10 @@ static slap_mrule_defs_rec mrule_defs[] = {
        {"( 2.5.13.13 NAME 'booleanMatch' "
                "SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )",
                SLAP_MR_EQUALITY | SLAP_MR_EXT, NULL,
-               NULL, NULL, booleanMatch, NULL, NULL, NULL},
+               NULL,
+               NULL, booleanMatch,
+               booleanIndexer, booleanFilter,
+               NULL},
 
        {"( 2.5.13.14 NAME 'integerMatch' "
                "SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )",