摘要 |
Searching and matching a set of query strings used for accessing information in a database directory. In this disclosure, a user community administration tool queries a database directory containing user information associated with a user community. In the user community administration tool, there is an input query generation component that generates an input query having a search pattern that includes a combination of attribute names, logical, operators and attribute values. An accessing component accesses a library of queries used for accessing the user information in the database directory. A partitioning component partitions each of the queries in the library into logical units. Each logical unit comprises a combination of an attribute name, logical operator and attribute value. A comparing component compares the search pattern of the input query to each partitioned logical unit for each of the queries in the library. The comparing component compares the attribute name of the input query to the attribute name in the logical unit, the operator used in the input query to the operator used in the logical unit and the attribute value in the input query to the attribute value in the logical unit. A determining component determines whether there is a match between the input query and any of the logical units associated with each of the queries in the library. |