
A simple text string can narrow a search to a metadata field. You can specify this text string in the Search box on the home page or in the free text search box on the Advanced Search page. This text string is demonstrated in the following examples:
To search for the word Governor in a slug:
slug=Governor
To search for the word Governor in the slug and the headline:
slug=Governor AND headline=Governor
|
|
Tip: For metadata field searches, always put the field name first: Correct: slug=Governor Incorrect: Governor=slug |
Metadata fields can be combined
with Boolean operators or wildcards to narrow or widen a search.
To search for stories in AP Financial or domestic categories that are
not about Microsoft or Apple, enter the following string:
category=(F or A) AND NOT (profcompanyticker=MSFT or profcompany=Microsoft, Inc.)
This query returns stories in the Financial and International categories that do not mention Microsoft or Apple Computers.
You can also use "!=" to exclude terms from the metadata field search.
To search for all stories that are not in the AP Financial category:
category!=F
To search for stories in the AP Financial category, but exclude stories with Nasdaq in the headline:
category=F AND headline!=Nasdaq
To search using other criteria, see Advanced Searches.