333
edits
Changes
Jump to navigation
Jump to search
no edit summary
#* If the search query parameters meet '''all conditions''' of at least one exclusionary filtering rule, the search is prohibited.
#* If the search query parameters do not match any of the rules, the search is allowed.
# After checking the forbidding blocking rules, the allowing rules are checked.
#* If the search query parameters meet '''all conditions''' of at least one filtering rule, the ban is removed and the search is allowed.
'''Logging order of search request filter's work.'''<br>
# All forbidding blocking rules are checked in order, as soon as a triggered rule is found, all previous (i.e. rules checked earlier) and the current, applied, request filter rule are logged.# If a single forbidding blocking rule was applied, the allowing rules are checked in the same order and the ones checked with the applied rule are logged.
# Only checked rules are logged.
# If the rules coincided in all the features being checked, and a triggered rule was found in those rules, then the check is not carried out further, and therefore no untested rules are logged.
'''Rule operation mode''' - rule operation mode:
*'''''ForbiddingBlocking ''''' - prohibits search if the search request meets the filter conditions.
*'''''Allowing''''' - allows you to search for directions prohibited by the search filters if the search request meets the filter conditions. Works as an exception to prohibiting rules of search request filtering - cancels banning of filters for search requests with specified parameters.
{| class="wikitable"
|-
|[[File:Правило фильтрации и его условияSearch_filters_3.png|920px]]
|-
|Example of a banning filter for search requests
{| class="wikitable"
|-
|[[File:Разрешающее_правило_фильтраSearch_filters_4.png|920px]]
|-
|Example of a search request allowing filter
{| class="wikitable"
|-
|[[File:Как читать условиеSearch_filters_5.png|906px]]
|-
|Example of a filtering condition for search requests with the "does not match with" property.
|}
'''Attention!'''
* ''Allowing rule only allows search requests that have been filtered out by restricting blocking rules.
* ''If there is one leg in the route, it has the sign of both the first and the last leg at the same time.
* '''If "Off" is selected for the parameter, the parameter has no effect on filtering.
{| class="wikitable"
|-
|[[File:Фильтрация запросов поискаSearch_filters_6.png|1000px]]
|-
|Search requests filtering rules
{| class="wikitable"
|-
|[[File:PnrSearch_filters_7.jpgpng|1000px]]
|-
|"Use airline schedule and Websky requisite package number filter" filter