# `SecurityQueryRoleRoleQueryContainer` [interface-SecurityQueryRoleRoleQueryContainer] | Name | Type | Description | | - | - | - | | `bool` | [QueryDslBoolQuery](./QueryDslBoolQuery.md) | matches roles matching boolean combinations of other queries. | | `exists` | [QueryDslExistsQuery](./QueryDslExistsQuery.md) | Returns roles that contain an indexed value for a field. | | `ids` | [QueryDslIdsQuery](./QueryDslIdsQuery.md) | Returns roles based on their IDs. This query uses role document IDs stored in the `_id` field. | | `match_all` | [QueryDslMatchAllQuery](./QueryDslMatchAllQuery.md) | Matches all roles, giving them all a `_score` of 1.0. | | `match` | [Partial](./Partial.md)> | Returns roles that match a provided text, number, date or boolean value. The provided text is analyzed before matching. | | `prefix` | [Partial](./Partial.md)> | Returns roles that contain a specific prefix in a provided field. | | `range` | [Partial](./Partial.md)> | Returns roles that contain terms within a provided range. | | `simple_query_string` | [QueryDslSimpleQueryStringQuery](./QueryDslSimpleQueryStringQuery.md) | Returns roles based on a provided query string, using a parser with a limited but fault-tolerant syntax. | | `term` | [Partial](./Partial.md)> | Returns roles that contain an exact term in a provided field. To return a document, the query term must exactly match the queried field's value, including whitespace and capitalization. | | `terms` | [QueryDslTermsQuery](./QueryDslTermsQuery.md) | Returns roles that contain one or more exact terms in a provided field. To return a document, one or more terms must exactly match a field value, including whitespace and capitalization. | | `wildcard` | [Partial](./Partial.md)> | Returns roles that contain terms matching a wildcard pattern. |