# Search

Search is super important to Secoda users and we are constantly improving the functionality to provide the best experience.

You can search for any data resource using Secoda's search, including tables, columns, collections, dictionary terms, documents, metrics and questions. You can search for terms in plain language, or by the table name and data source if you already know what you're looking for.

## How to Search

When you first click into Search, it'll show your workspace's Popular resources as well as your personal Recent searches.

{% hint style="info" %}
Popular resources in Secoda are calculated by summing the number of views in Secoda over the last 90 days, with the number of views/queries extracted from the source 24 hours from the extraction. Learn more about [Popularity](https://docs.secoda.co/features/popularity).
{% endhint %}

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/904494a7-2d27-46b1-b403-1218e763ec72.gif" alt=""><figcaption></figcaption></figure>

You can also search directly from the Home page, [within the Catalog](#search-within-the-catalog), or by typing `/` from any screen.

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/a261d8b4-6b8e-464f-bebb-32ceb6eb9bc2.png" alt=""><figcaption></figcaption></figure>

## How Search works

Our search functionality leverages popularity boosting, taking into account both internal and external interactions:

**Internal Popularity Boosting:**

* **Views within Secoda:** The more a resource is viewed within Secoda, the higher it will rank in search results.
* **User Interaction within Secoda:** Resources gain additional boost points if the current user has recently interacted with them, whether it's a Catalog resource, Document, Term, or Question. This personalizes search results based on user activity.

**External Popularity Boosting:**

* **External Interactions:** Queries and views in external tools like Tableau or Looker contribute to the popularity score of a resource, enhancing its visibility in search results.

**Enhanced Search Ranking Strategy:**

* **Exact Title Match:** Highest priority is given to resources with titles that exactly match the search term. For exact title matches, we also recommend searching for the title in **quotations**.

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/e706671a-681b-435e-ab94-ffd9c7098cf8.png" alt=""><figcaption></figcaption></figure>

* **Title Prefix Match:** Searches for resources where the title starts with the search term.
* **Phrase Match in Title:** Ranks resources where the title contains the search term as a phrase.
* **Phrase Match in Description:** Looks for the search term as an exact phrase within the resource's description.
* **Phrase Match in Documentation:** Identifies the term within the resource's documentation, though with a lower priority.
* **Wildcard Match in Full Title:** Gives the highest importance to resources where the full title contains the search term anywhere.

This approach ensures that the most relevant and interacted-with documents are prominently displayed, aiding users in quickly finding the most pertinent and popular content.

## Search views

Read up on[#managing-search-views](https://docs.secoda.co/views#managing-search-views "mention") for easy access to your common searches.

## Search from the sidebar

Searching can be daunting if you’re not sure exactly what you’re looking for. We’ve tried to make it as seamless as possible by adding features to help filter down your search.

### Ask AI

The [Secoda AI](https://www.secoda.co/blog/transforming-data-discovery-using-secoda-ai)[ Assistant](https://docs.secoda.co/features/ai-assistant) improves user experience when searching for resources. Once you’ve enabled it, you can find the AI Assistant on the lefthand panel under Search. You can also Ask AI right from the main Search. This feature will be helpful for business users who might not know where to begin when looking at data. Read more about it [here](https://docs.secoda.co/features/ai-assistant).

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/877412ec-091c-458a-bf63-c5ea7b1c5c5d.gif" alt=""><figcaption></figcaption></figure>

### Sort

You’re able to sort by Relevance, Popularity, Last modified and Date created.

* Relevance is measured by your personal usage (tables, dashboards, docs that you’ve worked on and are relevant to you)
* Popularity is measured by how often a resource is clicked into in your workspace as well as how often it’s queried outside of the workspace (Read more about this [popularity](https://docs.secoda.co/features/popularity "mention"))
* Last modified will show you the most recently *updated* resources
* Date created will show you the most recently *created* resources

<div align="center"><figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/1cc2981a-a1a2-4a67-abf5-8df85caa5039.png" alt=""><figcaption></figcaption></figure></div>

### All filters

If you know what kind of resource you are searching for, you can filter down to that type in the All filter dropdown. There you will see every type of resources from Apps to Questions.

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/Screenshot%202023-05-02%20at%205.00.40%20PM.png" alt=""><figcaption></figcaption></figure>

### Add filter

You can get even more granular with filters in the Add filter section. For example, if you are looking for all resources containing PII tags, this feature allows you to filter down your results.

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/c8f1519a-12f7-4856-98a8-4dc11b8dc745.png" alt=""><figcaption></figcaption></figure>

### View

The view filter allows you to toggle on/off the different kinds of information related to the results from your search.

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/759e542f-10a8-49b1-b048-77ee43965c8a.png" 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.secoda.co/features/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.
