]> git.sur5r.net Git - openldap/commitdiff
Adapt to use the smr_sindex function instead of the deleted common indexing
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Fri, 9 Jul 1999 14:32:32 +0000 (14:32 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Fri, 9 Jul 1999 14:32:32 +0000 (14:32 +0000)
function.

servers/slapd/back-ldbm/filterindex.c

index c22a8ef86007766b1a6dacc8b21559abd58dc8ca..2709138b482cdf790d6aefe094d997758c4f0f19 100644 (file)
@@ -45,7 +45,7 @@ index_candidates(
        }
 
        idl = NULL;
-       assert( mr->smr_index != NULL );
+       assert( mr->smr_sindex != NULL );
        /* Now take each piece and compute the indexing stems for it */
        for ( i = 0; svals[i]; i++ ) {
                struct berval   *isvals[2];
@@ -53,7 +53,7 @@ index_candidates(
 
                isvals[0] = svals[i];
                isvals[1] = NULL;
-               mr->smr_index( isvals, &ivals );
+               mr->smr_sindex( isvals, &ivals );
                idl1 = NULL;
                for ( j = 0; ivals[j]; j++ ) {
                        idl2 = index_read( be, at, mr,