Search with constraints

This search enables you to search with more constraints to limit the returned results.

Extra search constraints are entered in the Advanced Search tab of the Advanced Search form.

The Current location field is not editable. It shows the path selected to search.

  1. Enter search terms in the A word of phrase in content field.

  2. Select the Operator.

    • Select AND operator to only return results that meet both the search terms and the entered constraints (see Step 3).

    • Select OR operator to return results that meet either the search terms or the entered constraints (see Step 3).

  3. Click Show/Hide Constraint Form to add more constraints.

    A further constraint options window will appear.

    Details:

    ItemDescription
    You can add more than one constraint with either of two operators (AND and OR).
    Add a constraint to search by a property with specific values.
    Add a constraint to search by a property that contains one of the word in the specific string.
    Add a constraint to search by a property that does not contain the specific string.
    Add a constraint to search by a duration of date (created, modified).
    Add a constraint to search by a document type, including File, Article, Podcast, Sample node, File Plan, Kofax).
    Add a constraint to search by categories.
    Add a document type.
    Add a category.

  4. Select the constraint operator (AND/OR).

  5. Add the required constraints using one of the following methods:

  6. Click Add to add any/all activated constraints.

    The constraints will be converted to an SQL query and displayed in the search form.

    • Remove unnecessary constraints by clicking trash can.

  7. Click Search to launch the search. Results will be displayed in the Search Results tab.

  8. Click Save and put a name for this search configuration if you want to save it to use at another time.

There are some methods to add the required constraints as follows:

Add a constraint for exact values

  1. Tick the checkbox that corresponds to the constraint you want.

  2. Enter the property you want to locate, or click "Add property" .

    A list of possible properties appears.

  3. Select a property from the list and click Add. The selected property will populate Property field.

  4. Define the property value to search for by entering a value into the Contain Exactly field, or click Find exactly.

    The Filter Form will appear.

    All pre-existing values for your selected property will appear.

    • If the value you require is in the list, select it and click Select.

    • If the value you require is not in the list, enter it in the Filter field and click corresponding. The value will populate the Contain Exactly field of the constraints form.

Add a constraint including or excluding values

  1. Tick the checkbox corresponding to the Contain or Not Contain constraint, as appropriate.

  2. Enter the required property in the Property field, or click Add Property (refer to Step 2 in the Add a constraint for exact values section for more information).

  3. Enter the required values in the Contain or Not Contain fields.

Add a constraint by date

  1. Tick the checkbox beside the field with the drop-down menu (below the Property entries).

  2. Define the search condition from the drop-down list (CREATED/MODIFIED).

  3. Click in the From field.

    A small calendar will appear.

    Select the date you want to use as a constraint.

  4. Repeat the above steps for the To field.

    The selected dates will populate the From and To fields in the Add constraint form.

Add a constraint by document type

  1. Tick the checkbox beside the Document Type field.

  2. Enter the document type you want to search, or click "Add node type" to open a list of document types.

  3. Tick the checkbox corresponding to your desired document type, then click Save.

    The selected document type will populate the Document Type field.

Add a constraint by category

  1. Tick the checkbox beside the Category field.

  2. Enter the category you want to search, or click "Add category" for a list of categories.

  3. Click green tick that corresponds to your desired category.

    The selected category will populate the Category field.

Copyright ©2012. All rights reserved. eXo Platform SAS