You can group parts of the query in parentheses to create subqueries. Subqueries are evaluated before the rest of the query. Consider the following example:
(DB2 or Oracle) AND Windows
In this query, all pages are returned that contain either "DB2" or "Oracle" only if the document also contain Windows.
Consider another example:
(DB2 AND Oracle) OR (XP and Vista)
In this query, a page returns if either of the following conditions are met:
You can also group fields when creating your search query. Consider the following example:
Description:(+Cisco -Microsoft)
This query returns all pages in which the Description field value contains "Cisco" but does not contain "Microsoft."
|
Copyright © 2013 CA.
All rights reserved.
|
|