From 2d78fafe038f7e0d23abdf4f10b2ddc115dc2e9c Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 23 Mar 2003 05:54:52 +0000 Subject: [PATCH] Boolean indexing support --- servers/slapd/schema_init.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 5118d23d46..4c153e041d 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -134,6 +134,8 @@ #define telephoneNumberSubstringsIndexer caseExactIA5SubstringsIndexer #define telephoneNumberSubstringsFilter caseExactIA5SubstringsFilter +#define booleanIndexer octetStringIndexer +#define booleanFilter octetStringFilter #endif /* validatation routines */ @@ -225,6 +227,9 @@ #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 )", -- 2.39.5