You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by lu...@apache.org on 2015/02/14 19:15:44 UTC
svn commit: r1659832 -
/directory/site/trunk/content/api/user-guide/2.11-filter-builder.mdtext
Author: lucastheisen
Date: Sat Feb 14 18:15:43 2015
New Revision: 1659832
URL: http://svn.apache.org/r1659832
Log:
added documentation for using filter builder with ldapconnectiontemplate
Modified:
directory/site/trunk/content/api/user-guide/2.11-filter-builder.mdtext
Modified: directory/site/trunk/content/api/user-guide/2.11-filter-builder.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/user-guide/2.11-filter-builder.mdtext?rev=1659832&r1=1659831&r2=1659832&view=diff
==============================================================================
--- directory/site/trunk/content/api/user-guide/2.11-filter-builder.mdtext (original)
+++ directory/site/trunk/content/api/user-guide/2.11-filter-builder.mdtext Sat Feb 14 18:15:43 2015
@@ -93,7 +93,7 @@ Returns a new FilterBuilder for testing
equal( "cn", "Kermit The Frog" ).toString();
-would result in the string: _(cn>=Kermit The Frog)_
+would result in the string: _(cn=Kermit The Frog)_
Which would match entries with the common name Kermit The Frog. Be careful when using the equal filter as it is an _EXACT MATCH_ filter. While it may seem natural to use \* as a wildcard, it will actually be escaped using this filter. If you meant to use a wildcard in your filter, you should use one of [startsWith](#startswith-filter), [endsWith](#endswith-filter), [contains](#contains-filter), or [substring](#substring-filter), .