search_engine=v3
) as soon as possible.
GET /api/v2/users
endpoint to include the search_engine=v3
parameter. This will enable you to see whether any queries need to be updated, so that you will not experience downtime when v2 becomes unavailable.search_engine=v3
parameter as outlined above.email
, name
, given_name
, family_name
, and nickname
) are case insensitive. All other fields (including all app_metadata
/user_metadata
fields) are case sensitive.app_metadata
/user_metadata
fields.user_id:auth0
will not match a user_id
with value auth0|12345
, instead, use user_id:auth0*
.name:j*
. For other uses of wildcards (e.g. suffix matching), literals must have 3 characters or more. For example, name:*usa
is allowed, but name:*sa
is not..raw
field extension is no longer supported and must be removed. In v3, fields match the whole value that is provided and are not tokenized as they were in v2 without the .raw
suffix.connection
field is not supported in v3. You should use its alias identities.connection
instead.Use case | v2 | v3 |
---|---|---|
Search by date | updated_at:>=2018-01-15 | updated_at:[2018-01-15 TO *] |
Search by date | updated_at:>2018-01-15 | updated_at:{2018-01-15 TO *] |
Search by date | updated_at:<=2018-01-15 | updated_at:[* TO 2018-01-15] |
Search by date | updated_at:<2018-01-15 | updated_at:[* TO 2018-01-15} |
Search by date | last_login:<=2017-12 | last_login:[* TO 2017-12] |
String exact match | name.raw:“john richard doe” | name:“john richard doe” |
Phrase contains a word | name:“richard” , name:richard | name:richard |
Phrase contains a word (with less than 3 characters) | name:*ri ,name:*a , name:ab | (not supported) |
search_engine=v3
parameter when performing user search operations.
SDK | Version with support for v3 | Impacted methods | Considerations |
---|---|---|---|
Auth0 Java | 1.8.0 | com.auth0.client.mgmt.UsersEntity.list | Provide a UserFilter with withSearchEngine(“v3”) |
Auth0 Python | 3.0.0 | management.Users.list | Provide the parameter search_engine=‘v3’ |
Auth0 Node | 2.0.0 | UsersManager.getAll, ManagementClient.getUsers | Provide the parameter search_engine:‘v3’ |
Auth0 .NET | 3.0.0 or 4.0.0 | Auth0.ManagementApi.IUsersClient.GetAllAsync | Provide a GetUsersRequest object with SearchEngine = “v3” |
Auth0 PHP | 5.2.0 | Auth0.SDK.API.Management.Users.getAll | Provide the parameter ‘search_engine’ => ‘v3’ |
Auth0 Ruby | 4.5.0 | Auth0.Api.V2.Users.users | Provide the parameter search_engine: ‘v3’ |
Extension | Version support for v3 | Considerations |
---|---|---|
Authorization Extension | 2.5.0+ | If you are using an earlier version, you need to manually update the extension from the Extensions page. |
Delegated Administration | 3.1+ | If you are using an earlier version, you need to manually update the extension from the Extensions page. The SEARCH_ENGINE configuration setting no longer exists in 3.1, because only User Search v3 is available. |
/api/v2/users
endpoint that use the User Search v2 engine, including calls performed by SDKs. Those logs will help you identify where code changes might be needed in your applications.
Use the following query to retrieve all the logs related to User Search v2: type:w AND description:*search_engine*
. The logs will provide additional information in the description field, in the following cases: