Constraint settings

You can specify which types of constraints will be available to users of your search. Each constraint type has a setup block.

To make a constraint type appear in the search form, enable its block using a checkbox in the block header.

The order of blocks in the setup interface (top-to-bottom) defines the order of pseudo links in the search results (left-to-right). You can drag the blocks to change their positions.

To save any changes (e.g., enabled or disabled blocks), click Save.

Setting up constraints of each type

To set up a constraint of a certain type, click upon the block name. Date constraints have no settings.

  • In the Site sections block, you can configure your section tree. It supports 3 nested levels.

    You can change the section nesting level using the arrows at the left of the row. When you click an arrow, the parent constraint shifts up or down the tree with all its child constraints.

    You can also change the section order and their nesting level by dragging the rows. Keep in mind that if you drag a parent section, the child sections are not moved with it, but shift up the tree.

  • The Keywords section contains a text field with keyword lines. To remove a constraint, delete its line. Empty lines are ignored.

  • In theCustom constraints section, you can create your custom constraints using the Yandex query language. For the supported operators, see Document operators in Search Help.


    Instead of the site: operator, use the following syntax: |*

    To change the constraint order, drag their rows.

Selecting multiple constraints

The user can select multiple constraints at once by default. To disable this option for a given constraint type, expand the constraint block and clear the multiple selection option. You have such an option for every block except the date constraint block.