Difference between revisions of "Nested Search"

From IMSMA Wiki
Jump to: navigation, search
Line 9: Line 9:
 
: The new criteria group is shown indended one step right.
 
: The new criteria group is shown indended one step right.
 
[[Image:Nested search part2.png|700px|center]]</li>
 
[[Image:Nested search part2.png|700px|center]]</li>
[[Image:Nested search part3.png|700px|center]]<br/>
 
 
<li>Continue to add criterion rows to the new criteria group by clicking on the [[Image:FieldTemplateIcon.png]] button.
 
<li>Continue to add criterion rows to the new criteria group by clicking on the [[Image:FieldTemplateIcon.png]] button.
 
: In this example ''Country structure'' from Location will be used for both the criterion rows in the new criterion group
 
: In this example ''Country structure'' from Location will be used for both the criterion rows in the new criterion group
: Since the ''Province'' should be either A or B the operator '''OR''' will be used inside the criterion group.</li>
+
: Since the ''Province'' should be either A or B the operator '''OR''' will be used inside the criterion group.
</ol><br/>
+
[[Image:Nested search part3.png|700px|center]]</li>
 +
</ol>
  
 
[[Image:Criteria rows.png|700px|center]]<br/>
 
[[Image:Criteria rows.png|700px|center]]<br/>

Revision as of 12:08, 6 October 2014

In the Advanced Search it is also possible to build complex searches that contains several parts with the operators AND and/or OR. This type of search is referred to as nested search.

Nested search equation.png
  1. Start with adding the rows with the criteria for the first bracket
  2. Nested search part1.png
  3. To add a new condition group click the OR/AND button.
    The new criteria group is shown indended one step right.
    Nested search part2.png
  4. Continue to add criterion rows to the new criteria group by clicking on the FieldTemplateIcon.png button.
    In this example Country structure from Location will be used for both the criterion rows in the new criterion group
    Since the Province should be either A or B the operator OR will be used inside the criterion group.
    Nested search part3.png
Criteria rows.png

Criteria group.png

Which criterion rows that is included in a criteria group is clearly distinguish by both the rows being indented and a blue box around the criteria group. The blue box is shown when the user clicks on the operator (in this example OR.