<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with search]]></title><description><![CDATA[A list of topics that have been tagged with search]]></description><link>https://fusionauth.io/community/forum/tags/search</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 16:13:00 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/tags/search.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[how can I get an exact number of users with some attributes?]]></title><description><![CDATA[<p dir="auto">You want to use search parameters like those outlined in <a href="https://github.com/FusionAuth/fusionauth-example-scripts/blob/main/full-user-search/countusers.sh" rel="nofollow ugc">this sample script</a>.</p>

use a key limited to POST on /api/user/search
set accurateTotal on the request
set numberOfResults to 1 on the request

<p dir="auto">In the response, look at the total field.</p>
<p dir="auto">This will let you get exact numbers while reducing load on your instance.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/3132/how-can-i-get-an-exact-number-of-users-with-some-attributes</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/3132/how-can-i-get-an-exact-number-of-users-with-some-attributes</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[How to Report on Users with MFA Enabled in FusionAuth]]></title><description><![CDATA[<p dir="auto">Yes! FusionAuth stores MFA details on the user object, and you can search for users with MFA enabled using Elasticsearch queries.</p>
<p dir="auto">For example, in the Admin UI’s User search, you can run:</p>
_exists_:twoFactor

<p dir="auto">This returns all users with at least one MFA method configured. You can also perform similar searches via the User Search API to build custom reports. For more details on searchable user fields and Elasticsearch queries, see:</p>

<a href="https://fusionauth.io/docs/reference/user-fields" rel="nofollow ugc">User Fields Reference</a>
<a href="https://fusionauth.io/docs/lifecycle/manage-users/search/user-search-with-elasticsearch#searching-with-querystring" rel="nofollow ugc">User Search with Elasticsearch</a>

]]></description><link>https://fusionauth.io/community/forum/topic/3006/how-to-report-on-users-with-mfa-enabled-in-fusionauth</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/3006/how-to-report-on-users-with-mfa-enabled-in-fusionauth</guid><dc:creator><![CDATA[wesley]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Searching FusionAuth Login Records by Email Domain: How to Export and Filter Data]]></title><description><![CDATA[<p dir="auto">You’re correct that the <strong>Login Records report</strong> in FusionAuth only allows searches for individual users by their unique ID or email address. Unfortunately, it’s not possible to search login records directly by <strong>email domain</strong> through the UI or built-in report filters.</p>
<p dir="auto">To achieve what you’re looking for, you’ll need to <strong>export the login records</strong> using FusionAuth’s <strong>Export Login Records API</strong>. Once you have the data exported (for example, as a CSV), you can then filter the records offline to identify users from a specific domain who logged in during your desired time frame.</p>
<p dir="auto">You can read more about exporting login records here:<br />
<a href="https://fusionauth.io/docs/apis/login#export-login-records" rel="nofollow ugc">Export Login Records API</a></p>
]]></description><link>https://fusionauth.io/community/forum/topic/2987/searching-fusionauth-login-records-by-email-domain-how-to-export-and-filter-data</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/2987/searching-fusionauth-login-records-by-email-domain-how-to-export-and-filter-data</guid><dc:creator><![CDATA[wesley]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Troubleshooting Empty Results from FusionAuth User Search API]]></title><description><![CDATA[<p dir="auto">Your request body looks correct for a <strong><strong>basic search by email</strong></strong> and should return a result if a user with that exact email address exists in your system.</p>
<p dir="auto"><strong>1. Ensure You Are Using POST (or Use GET with Query Parameters)</strong></p>

The <strong>/api/user/search</strong> endpoint supports both <strong>POST</strong> and <strong>GET</strong>, but they <strong>expect different input formats</strong>.

<p dir="auto">If using <strong>GET</strong>, you must provide query parameters, such as:</p>
GET /api/user/search?ids=&lt;user_id&gt;

<p dir="auto"><strong>2. Searching for Partial Matches</strong></p>
<p dir="auto">If you want to find all users with a certain <strong>email domain</strong>, try using a <strong>wildcard search</strong>:</p>
{
  "search": {
    "queryString": "*@email.com"
  }
}

<p dir="auto"><strong>3. Verify API Key Permissions</strong></p>
<p dir="auto">If you <strong>still get empty results</strong>, ensure that:</p>

Your API key has <strong>sufficient permissions</strong> to query user data.
The <strong>user records exist</strong> in the database.

<p dir="auto"><strong>4. Further Reading on User Search</strong></p>
<p dir="auto">For more details on how to construct search queries, refer to:</p>

<a href="https://fusionauth.io/docs/apis/users#elasticsearch-search-engine" rel="nofollow ugc">Elasticsearch Search in FusionAuth</a>
<a href="https://fusionauth.io/docs/lifecycle/manage-users/search/user-search-with-elasticsearch#searching-with-querystring" rel="nofollow ugc">User Search with Elasticsearch</a>

]]></description><link>https://fusionauth.io/community/forum/topic/2894/troubleshooting-empty-results-from-fusionauth-user-search-api</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/2894/troubleshooting-empty-results-from-fusionauth-user-search-api</guid><dc:creator><![CDATA[wesley]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Searching for users with the java client]]></title><description><![CDATA[<p dir="auto">Looking at <a href="https://github.com/FusionAuth/fusionauth-java-client/blob/master/src/main/java/io/fusionauth/client/FusionAuthClient.java#L3256" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-java-client/blob/master/src/main/java/io/fusionauth/client/FusionAuthClient.java#L3256</a></p>
<p dir="auto">It appears there is no way to search using the Java client that uses a GET, only a POST. However, you can still provide the queryString in the JSON and it will be equivalent to the GET request.</p>
<p dir="auto">Building this JSON:</p>
{
  "search": {
    "queryString": "fusionauth.io"
  }
}

<p dir="auto">Is equivalent to queryString=fusionauth.io.</p>
<p dir="auto">Hope that helps.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/850/searching-for-users-with-the-java-client</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/850/searching-for-users-with-the-java-client</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Can I find all users by tenant?]]></title><description><![CDATA[<p dir="auto">Try clicking on the Advanced section on the User Search page and see you find what you're looking for.</p>
<p dir="auto">Or search like this tenantId:9d92ca33-bc7b-4d13-acd7-f7dc06038396 where 9d92ca33-bc7b-4d13-acd7-f7dc06038396 is your tenantId.</p>
<p dir="auto">Please note that this is an example for the elastic search search engine. With the database search engine, you can only search for the fields as documented in <a href="https://fusionauth.io/docs/v1/tech/apis/users/#database-search-engine" rel="nofollow ugc">the API</a>. As of this post, those are:</p>

firstName
lastName
fullName
email
username

]]></description><link>https://fusionauth.io/community/forum/topic/849/can-i-find-all-users-by-tenant</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/849/can-i-find-all-users-by-tenant</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Can you use the database search engine with millions of users?]]></title><description><![CDATA[<p dir="auto">I don't know of any issues. You’re mainly just giving up the ability to perform rich queries. The db search is a few LIKE statements.</p>
<p dir="auto">I don't think we've tested millions running db search - but the only issue I can think of for normal usage would be the User page in the UI since we’ll be paginating over lots of users.</p>
<p dir="auto">This should work ok - but pagination tends to slow way down as you get into higher pages,.</p>
<p dir="auto">One can always <a href="https://fusionauth.io/docs/v1/tech/tutorials/switch-search-engines/" rel="nofollow ugc">flip on Elastic and run an index</a>, so not much harm in trying it.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/771/can-you-use-the-database-search-engine-with-millions-of-users</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/771/can-you-use-the-database-search-engine-with-millions-of-users</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Retrieving all users]]></title><description><![CDATA[<p dir="auto">From the <a href="https://fusionauth.io/docs/v1/tech/apis/users#search-for-users" rel="nofollow ugc">user search docs</a>, for the database search engine:</p>
<blockquote>
<p dir="auto">Regular expressions may not be used. A value of * will match all records.</p>
</blockquote>
<p dir="auto">For the elasticsearch search engine, you are limited to 10,000 records returned due to this bug: <a href="https://github.com/FusionAuth/fusionauth-issues/issues/494" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-issues/issues/494</a></p>
<p dir="auto">Here's docs on how to switch between them: <a href="https://fusionauth.io/docs/v1/tech/tutorials/switch-search-engines" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/tutorials/switch-search-engines</a></p>
]]></description><link>https://fusionauth.io/community/forum/topic/465/retrieving-all-users</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/465/retrieving-all-users</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Search for users by application]]></title><description><![CDATA[<p dir="auto">You should be able to go the user's tab and then expand the 'advanced' section and select a given application.</p>
<p dir="auto">See this screenshot:</p>
<p dir="auto">user search with 'advanced' section expanded</p>
]]></description><link>https://fusionauth.io/community/forum/topic/391/search-for-users-by-application</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/391/search-for-users-by-application</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Seeing &quot;A request to the search index has failed. This error is unexpected&quot; and I can no longer login with google]]></title><description><![CDATA[<p dir="auto">Hmmm. Since you haven't made any changes and aren't seeing any other errors, can you try to reindex?</p>
<p dir="auto">Navigate to system and then re-index in the administrative user interface?</p>
<p dir="auto">That should solve the issue.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/375/seeing-a-request-to-the-search-index-has-failed-this-error-is-unexpected-and-i-can-no-longer-login-with-google</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/375/seeing-a-request-to-the-search-index-has-failed-this-error-is-unexpected-and-i-can-no-longer-login-with-google</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Retrieving groups of users]]></title><description><![CDATA[<p dir="auto">Fix is live: <a href="https://github.com/FusionAuth/fusionauth-site/pull/147" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-site/pull/147</a></p>
]]></description><link>https://fusionauth.io/community/forum/topic/246/retrieving-groups-of-users</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/246/retrieving-groups-of-users</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Is there a way to get all the members of a particular group?]]></title><description><![CDATA[<p dir="auto">You need to use the <a href="https://fusionauth.io/docs/v1/tech/apis/users#search-for-users" rel="nofollow ugc">user search API</a> with an elastic search query string.</p>
<p dir="auto">Here's a curl example:</p>
API_KEY=....
GROUP_ID=f4a64b10-1cf6-4289-84c0-c3035f3b78bc

curl -H "Authorization: $API_KEY" 'http://localhost:9011/api/user/search/?queryString=memberships.groupId:'$GROUP_ID 

<p dir="auto">If you are using the database search engine, you cannot find all the members of a group.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/183/is-there-a-way-to-get-all-the-members-of-a-particular-group</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/183/is-there-a-way-to-get-all-the-members-of-a-particular-group</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[I&#x27;m having an issue with Elastic Search queries in FusionAuth.]]></title><description><![CDATA[<p dir="auto">It depends on the issue, but there are two things you can do. Note that FusionAuth typically sends the query you post to the <a href="https://fusionauth.io/docs/v1/tech/apis/users#search-for-users" rel="nofollow ugc">/api/user/search</a> endpoint with the query parameter straight through to Elasticsearch</p>
<p dir="auto">First, ensure you are running elasticsearch and not the database search engine.</p>
<p dir="auto">Then, for some queries you can see the generate ElasticSearch query strings by clicking on the 'advanced' option in the user search area of the admin UI. This can be helpful.</p>
<p dir="auto">Finally, try running the query directly against elasticsearch and seeing if it works. Here are examples which will pull back all the data in your elasticsearch cluster (beware!).</p>
curl -XPOST -H 'Content-type: application/json' "http://localhost:9021/_search" -d'
  {            
     "query": {       
       "match_all": {}
     }
  }'

<p dir="auto">or, if you have the query stored in query.json</p>
curl -XPOST -H 'Content-type: application/json' "http://localhost:9021/_search" -d@query.json


]]></description><link>https://fusionauth.io/community/forum/topic/177/i-m-having-an-issue-with-elastic-search-queries-in-fusionauth</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/177/i-m-having-an-issue-with-elastic-search-queries-in-fusionauth</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[What is the advantage of using ElasticSearch as the search engine?]]></title><description><![CDATA[<p dir="auto">Here's a doc about how to switch search engines: <a href="https://fusionauth.io/docs/v1/tech/tutorials/switch-search-engines" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/tutorials/switch-search-engines</a></p>
]]></description><link>https://fusionauth.io/community/forum/topic/67/what-is-the-advantage-of-using-elasticsearch-as-the-search-engine</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/67/what-is-the-advantage-of-using-elasticsearch-as-the-search-engine</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Can I query a user on their user data?]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2310">@le-nnyburkdoll</a></p>
<p dir="auto">This guide might be helpful to you: <a href="https://fusionauth.io/docs/v1/tech/guides/user-search-with-elasticsearch" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/guides/user-search-with-elasticsearch</a></p>
<p dir="auto">Thanks,<br />
Dan</p>
]]></description><link>https://fusionauth.io/community/forum/topic/53/can-i-query-a-user-on-their-user-data</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/53/can-i-query-a-user-on-their-user-data</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Can we search on userId?]]></title><description><![CDATA[<p dir="auto">You can search on the user id. While it doesn't say that in the placeholder, it works.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/50/can-we-search-on-userid</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/50/can-we-search-on-userid</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Is there an api  to force a reindex of the users?]]></title><description><![CDATA[<p dir="auto">Hello<br />
It depends on the specific system or platform you are using. You may need to consult its documentation or support resources.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/38/is-there-an-api-to-force-a-reindex-of-the-users</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/38/is-there-an-api-to-force-a-reindex-of-the-users</guid><dc:creator><![CDATA[m.arlynrasavong]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>