Auth0 Home Blog Docs

What is wrong with the Lucene query?

management-api
lucene

#1

I have the following query:

email:"dan.rumney+fo@ohanapediatrics.com" AND identities.connection="Local-Testing"

And I have the following user:

{
    "email": "dan.rumney+fo@ohanapediatrics.com",
    ...
    "identities": 
        {
            "user_id": "...",
            "provider": "auth0",
            "connection": "Local-Testing",
            "isSocial": false
        }
    ],
  ...
}

Yet, for some reason, that user is not being returned when I search via the Management API (using search_engine: ‘v2’). Nor does it appear when I search using the Auth0 dashboard.

Am I missing something here? I’ve also tried adding the raw subfield but to no avail!


#2

This user has been in the system for quite some time, so this should not be due to “eventual consistency” issues.