How To: Use Package Search

Azure DevOps Services

Package Search is automatically available to users of Azure DevOps Services. By using Package Search you can:

  • Search package by title and description: You can quickly and easily find relevant packages by using free text search on title and description. You can also narrow your search by using Boolean operators and combine search criteria.
  • Search across all of your organization feeds: Search in your and your team's feeds across the organization. Narrow your search by using feed, view and package type filters. Use wildcards to widen your search and Boolean operators to fine-tune it.

Syntax for simple and compound searches

Use simple search strings for words or phrases. The default is a whole word search; for example, a search for "config" will not find instances of the word "configuration". However, searches are not case-sensitive.

Words separated by spaces, and not wrapped in double-quotes, are treated as separate search terms and the search will expect to find an occurrence of all the words (in other words, it assumes the AND operator between words).

Irrespective of which project you search from, the default is to search within all feeds of the organization.

Narrow your search by using Boolean operators

Narrow your search by using Boolean operators to combine search criteria. Combine multiple search criteria using AND, OR or NOT (they must be uppercase).

Use parentheses to specify the precedence of the operations when you use more than one Boolean operator. By default, a search combines all the words you enter using the AND operator so that it will return only files that contain all of the words you entered.

For example:

  • xml AND parser finds packages that contain both the words xml and parser. Note that AND is the default operator, and so this is equivalent to the search string xml parser.
  • xml OR parser finds packages that contain either of the words xml or parser.
  • xml NOT parser finds packages that contain the word xml but not the word parser.
  • (xml NOT parser) OR lib finds packages that contain the word xml but not the word parser or packages that contain the word lib.

Broaden your search by using wildcards

Use the wildcard character * and ? to broaden your search criteria. For example:

  • xmlparser* finds packages containing words that start with xmlparser, such as xmlparsersdk and xmlparserlib.

  • mypackage? finds packages containing words that start with mypackage and have any one alphanumeric character next, such as mypackage1, mypackage2 and mypackage3

You can use more than one wildcard to match more than one character.

Search for phrases

To find an exact match to a set of words, enclose your search terms in double-quotes to perform a phrase search. For example, "package for markup files".

Within a phrase:

  • Boolean operators are treated as literal text.

Got feedback?

Question Report any problems on Developer Community, or send feedback to vstssearch@microsoft.com.