Open topic with navigation

# 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.

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm