|
|
Using AP Images |
|
|
|
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; you must use "( )" around the term. Equivalent to "=". |
slug HAS (Tennis) Finds all items with Tennis in the Slug, such as: Wimbledon
Tennis Tournament |
||
Near |
near(#) before near(#) after near(#)
Match a phrase where Term A is found within # words before or after Term B.
|
Finds all items where Tropical is located up to two words before or after Rainforest, such as: Tropical
Rainforest
Finds all items where Tottenham is located one word before football, such as Tottenham football.
Finds all items where Lords is located up to three words after House, such as: House
Lords |
||
Before |
Match a phrase where Term A is found any number of words before Term B.
|
Parliament before Step Finds all items where Parliament is located before Step, such as: Parliament
repairs old steps |
||
After |
Match a phrase where Term A is found any number of words after Term B.
|
night after opening or closing Finds all items where night is located after opening or closing, such as: opening
performance last 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. |
Finds all items where Israel appears exactly one word before or after Palestine, such as: Israel-Palestine
war
Finds all items where Israel appears right after Palestine, such as: Palestine-Israel
trade policies
Finds all items where Israel appears right before Palestine, such as: Israel-Palestine
peace talks |
|
Note: The NEAR, BEFORE and AFTER operators cannot be used with metadata field searches. |