Catalog Search

Advanced Search Techniques

The catalog search bar supports standard and custom search engine conventions. By default search is applied case insensitive with all words designated in the search being required. You may elect to use alternate search patterns with the following supported capabilities:

  • Word negation: Return all results that do not match a specific keyword by prefixing those words with a minus symbol (dash) character. For example the search term -spot in the EC2 pricing catalog will return all non-spot pricing records.

  • Phrase matching: By default space characters delineate different words which need not be connected. To designate specific phrases that must match exactly, use an underscore character in for spaces. For example, the search term no_upfront in the EC2 pricing catalog will return all compute or instance savings plans with no upfront cost.

  • OR clauses: When a search term contains multiple words, all words must match for a give record to be returned. To alter this behavior such that all records containing either words are returned, separate each word by an || (double pipe) character sequence. For example, the search term no_upfront||partial_upfront in the EC2 pricing catalog will return all compute or instance savings plans with no upfront OR partial upfront costs.

  • Regular expressions: A search term may contain a regular expression enclosed by / characters. For example, the search term /us-east-[12]/ in the EC2 pricing catalog will return all pricing records in either the us-east-1 or us-east-2 regions.

  • Multi-condition search: Combined AND / OR search expressions can be applied by designating multiple OR searches separated by spaces. In this scenario, all OR search clauses must match for a record to be included in the results. For example, the search term us-east-1||us-west-2 no_upfront||partial_upfront in the EC2 pricing catalog will return all pricing records pertaining to either us-east-1 or us-west-2 regions that include either partial or no upfront cost. Multi-condition searches can also apply word negation or regular expressions. For example, the search term /us-east-[12]/ -spot -windows will return all pricing records pertaining to the us-east-1 or us-east-2 regions that are not spot or windows pricing.

Last updated