HomePhorge
Typeahead Function Help

Typeahead Function Help

Overview

Typeahead functions are an advanced feature which allow you to build more powerful queries. This document explains functions available for the selected control.

For general help with search, see the Search User Guide in the documentation.

Note that different controls support different functions (depending on what the control is doing), so these specific functions may not work everywhere. You can always check the help for a control to review which functions are available for that control.

Function Quick Reference

This table briefly describes available functions for this control. For details on a particular function, see the corresponding section below.

FunctionToken NameSummary
exact(username)Exact: ...Find results matching users exactly.
viewer()Current ViewerUse the current viewing user.

Using Typeahead Functions

In addition to typing user and project names to build queries, you can also type the names of special functions which give you more options and the ability to express more complex queries.

Functions have an internal name (like viewer()) and a human-readable name, like Current Viewer. In general, you can type either one to select the function. You can also click the button on any typeahead control to browse available functions and find this documentation.

This documentation uses the internal names to make it clear where tokens begin and end. Specifically, you will find queries written out like this in the documentation:

viewer(), alincoln

When this query is actually shown in the control, it will look more like this:

Current Viewer alincoln (Abraham Lincoln)

exact(username) · Exact: ...

This function allows you to find results associated only with a user, exactly, and not any of their projects or packages. For example, this will find results associated with only alincoln:

exact(alincoln)

viewer() · Current Viewer

Show revisions the current viewer is responsible for. This function includes revisions the viewer is responsible for through membership in projects and packages.