Bitrix Site Manager

Creating and editing a search engine

This form is used to create new and edit existing search engines (SE). You can access this form by clicking Add in the list of search engines, or by clicking the Action menu button and selecting the Modify item:

Context bar

Button Description
List Opens a list of search engines.
Add Creates a new search engine in this form.
Delete Deletes the currently open SE.

"Properties" tab (SE parameters)

Field Description
Active This flag indicates that the search engine is active.
Check traffic limit If the option is checked and traffic control is activated in the module settings, any traffic restrictions are removed from this search engine.
Save hits This flag prescribes to store addresses of the indexed pages in the database.
Include in chart and graph If checked, the search engine will be included in the SE diagram and graph by default.
Days to keep hits Number of days to keep addresses of the indexed pages. If this value is not specified, the value from the Statistics module settings is used instead (parameter Days to keep search engine hits).
Days to keep dynamics Number of days to keep the dynamics of site indexing for this search engine. If this value is not specified, the value from the Statistics module settings is used instead (parameter Days to keep search engine dynamics).
Name The name of the search engine (e.g. Google)
UserAgent The search engine UserAgent (e.g.: Googlebot/)
Domains
DomainSearch engine domain name without the www part (e.g. google.com, google.co.il, google.co.uk, search.yahoo.com, etc.)
Variable Name of the variable that is used to pass the search phrase.

Domain variables

With the domain variables, the following rules apply.

For example, if we search for bitrix in Google, the URL containing the search engine parameters is the following: 

http://www.google.com/search?hl=en&ie=UTF-8&q=bitrix

In this case, the parameter that holds the sought string is q, so we should set the variable name to q for google.com. In future, this variable will be used to parse the search phrases.

Possible case with the option Search in results is handled in the similar way. For example, we want to narrow the search criteria of the previous search with download. The URL in this case is

http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=bitrix&
       as_q=download&btnG=Search%C2%A0within%C2%A0results.

In this case, the additional variable is as_q. So, we set the variables to q,as_q note that they are separated them with comma. Further on, the search phrases will be displayed as bitrix / download, separated with slash while preserving their order.