# Proximity Searches and Field Restrictions

If you combine a field restriction keyword search with a proximity search, Content obeys the proximity rules while returning only documents that contain the specified values in the specified fields.

For example:

    action=Query&Text=cat NEAR2 dog:Animal

This query returns only documents that contain the term cat and term dog in their `Animal` fields. The terms must be no more than two terms away from each other.

_FT_HTML5_bannerTitle.htm