One of the important research tasks SEO-analytics is a narrowing of the issuance of a certain group of documents or websites.
Let us try to specify the query search by limiting the issuance of only two documents - the main page Yandex Russian-language website and Google.
To narrow your search to the specified URL url No operator shall use documented:, belonging to the group " document-operators ", which copes with its task in the case of one document search:


However, its use is "head" in the case, the problem does not solve the two documents:

In this case, to solve the problem helps a little trick - adding between operators url: documented operator | (Search for documents in which there is any word in the query).
According to the official documentation of this statement refers to the group " Morphology and search context " and it should be applied to keywords. However, as practice shows, it is perfectly cope with the task, and when applied to the document element operators:

Let us show that the operator | it applies to operators url: ie It has logic
Search (url No: yandex.ru | url No: www.google.ru ),
rather than divides the request into two parts, with the logic
(Search url: yandex.ru) | ( Url No: www.google.ru ).
To do this, take a query that is sought Yandex home page, but not searched Google home page:


If the operator | works as we need to, we will see in the search results, only one Yandex, if not - then both documents. We see that we have the first option:

Also, it works fine in the case of three documents:

Check on the logic in the case of the three documents also gives the expected result:


Likewise, you can organize the search restriction to a few sites, instead of using the operator url: site: operator
As research analysts SEO-tasks may require the exclusion of certain documents or Web sites from search results upon request.
For clarity, we take the query that in the SERP is only three sites:

In the current official language queries Yandex has documented a negation operator: - ( "minus"). However, it only works with words and does not apply to operators of Document. In the case of applying it to the document element by the operator, it is simply ignored, and instead remove a document or site issue we get a search on this document or Website:

By the current moment the official language queries Yandex has shrunk to just a few documented operators - 8 of Document and 6 morphology and search context . Although previously Yandex could boast a very extensive language queries allow to solve various search tasks.
However, some operators were once documented, and now disappeared from the official list, continue to work and to help solve problems, which only using documented operators is impossible to cope with.
And in this case, we come to the aid had once been documented ~~ negation operator ( "double tilde")
He copes well in this task, clearing the issue both from a given site in conjunction c site: operator

And from a given document in conjunction with the operator url:

It being possible to exclude from the issuance of multiple sites or documents by using the operator sequentially to each:

Or you can group documents excluded sites go, using the already-mentioned operator is documented | in conjunction with another operator, who once documented, but then disappeared from the language queries - grouping operator () ( "braces"):

No operator groups negation operator is applied only to a single site or document, that in this case, the automatic grouping does not happen:

Interestingly, in other cases, the grouping operator can not work. For example, we can not use it to change the logic of accounting statements in the example, which was considered in the first case. After applying the group home page Google site operator is still not in:

So to use an undocumented operator groups in general should be cautious.