# Home & Navbar Search

The most visible search function is the search field shown on the homepage and in the navigation header on any internal page.  This is intended to be a relatively “smart” and quick way to access data using a number of unique identifiers. The search logic is as follows:&#x20;

* If the search term returns a unique match for a protein name, alias or “slug” (name without special characters, and whitespace converted to single dashes), or if the search term matches one of the external accession IDs of a given protein, then the user is redirected to the protein page.
* If the search term matches a DOI, or unique family name of one of the authors in the database, then the user is redirected to the corresponding reference or author page, respectively.&#x20;
* If the search term matches the beginning of the scientific name of one of the organisms in the database (e.g. “*Aequorea*”), then the user is redirected to the corresponding organism page (in the case of multiple hits, the user is directed to the organism with more derived proteins in the database… a more specific search term may be used for less common organisms, such as “*Aequorea macrodactyla*” ). &#x20;
* Lastly, if the search query provides no unique hits following the aforementioned logic, then the user is redirected to the [advanced protein search](/searching/advanced-protein-search.md) page, which is prepopulated with proteins whose names are similar to the search term (based on PostgreSQL “trigram similarity”).


---

# 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://help.fpbase.org/searching/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.
