Position Operators

Position operators are useful when performing searches for items with specific word criteria and placement.

Position

Description

Examples

HAS

Match a term within the metadata field search; use "( )" around the term.

Equivalent to "=".

headline HAS (Obama)

Finds all items with Obama in the Headline, such as:

Obama immigration policy
or
Obama administration

or
Biden and Obama

NEAR

NEAR(#)

BEFORE NEAR(#)

AFTER NEAR(#)

Match a phrase where Term A is found within # words before or after Term B.

Note: Do not use ( ) (parentheses) or "  " (quotation marks) around words in NEAR searches.

  • Tropical NEAR(2) Rainforest

Finds all items where Tropical appears up to two words before or after Rainforest, such as:

Tropical Rainforest
or
Tropical Amazon Rainforest
or
Rainforest with rare Tropical flowers

  • Philadelphia BEFORE NEAR(1) flyers

Finds all items where Philadelphia appears one word before flyers, such as Philadelphia Flyers

  • Court AFTER NEAR(3) Florida

Finds all items where Court appears up to three words after Florida, such as:

Florida Court
or
Florida Supreme Court

or
Florida Small Claims Court

BEFORE

Match a phrase where Term A is found any number of words before Term B.

Note: Do not use ( ) (parentheses) or "  " (quotation marks) in BEFORE searches.

Capital BEFORE Step

Finds all items where Capital appears before Step, such as:

Capital repairs old steps
or
Capital stepping up patrols

or
Capital steps on budget proposal

AFTER

Match a phrase where Term A is found any number of words after Term B.

Note: Do not use ( ) (parentheses) or "  " (quotation marks) in AFTER searches.

night AFTER opening or closing

Finds all items where night appears after opening or closing, such as:

opening performance last night
or
closing night

ADJ

Adjacent. Match a phrase where Term A is found next to Term B.

Equivalent to NEAR(1); can be used with BEFORE or AFTER.

  • Iraq ADJ Iran

Finds all items where Iraq appears one word before or after Iran, such as:

Iran-Iraq war
or
Iraq-Iran relations

  • Iraq AFTER ADJ Iran

Finds all items where Iraq appears right after Iran, such as:

Iran-Iraq trade policies
or
Iran-Iraq border

  • Iraq BEFORE ADJ Iran

Finds all items where Iraq appears right before Iran, such as:

Iraq-Iran peace talks
or
Iraq, Iran and Afghanistan diplomacy

BETWEEN

Establishes numerical ranges for metadata field searches

priority BETWEEN 1 - 5 AND Obama

Finds all items with the word Obama with an urgency between 1 and 5.

Note: The NEAR, BEFORE and AFTER operators cannot be used with metadata field searches.