# SOQL List Results Indexed in Confluence Search

The **SOQL List Macro** has been enhanced to improve searchability within Confluence.&#x20;

Results returned by the SOQL List Macro are **indexed** by Confluence’s built-in search functionality.&#x20;

This allows users to search for Salesforce data directly from the Confluence search bar, which will point them to the specific Confluence page containing the macro and its associated Salesforce data.

As an example, consider the following confluence page, using SOQL List Macro to display contacts:

<figure><img src="/files/k2rkkizk4dinXKCVnurU" alt=""><figcaption></figcaption></figure>

Searching for "Tim Barr" in the SOQL List Macro results will direct users to the specific Confluence page containing the macro.

<figure><img src="/files/ZJlE2ADEnDkcLvws0HeO" alt=""><figcaption></figcaption></figure>

### How often is the search index updated?

The page will be updated with the latest Salesforce data whenever the SOQL List Macro is viewed, provided there have been changes to the data. When this occurs, a new page version will be created with the comment "Index Salesforce macro."

<figure><img src="/files/VlTTEPKARb9I4oQIq0eb" alt="" width="375"><figcaption><p>Page versions can be viewed by clicking (...) More actions > Page history</p></figcaption></figure>

It may take some time for Confluence Cloud to reflect these updates in its search results.

If you would like to test the searchability of your SOQL List Macro, you may copy the existing macro to a new Confluence page. Newly created pages are indexed more quickly by Confluence Cloud.

Please note that:

* Only the first occurrence of the term in a page will be shown in Confluence's search results
* Only the first 2,000 items in the list are searchable

### Can I disable indexing?

Yes, you can disable SOQL List indexing on the Confluence Administration > Salesforce > Settings page.

<figure><img src="/files/l51XJO5eo9ntLBf1vBc6" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.upsmith.app/atlassian-cloud/salesforce-for-confluence/user-guide/soql-list-results-indexed-in-confluence-search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
