Content Manager 24.4 Web Client Help

# Advanced Searching using the Search Editor

## Boolean Operators

AND - using And as the Boolean operator for search clauses will result in fewer items being found, as all items must meet the all of the defined search clauses.

OR - using Or as the Boolean operator for search clauses will result in more items being found, as the items can meet any of the defined search clauses.

NOT - using Not with a search clause will exclude that search clause from the results.

## Recursive Searching

Recursive searches will find Content Manager items that are hierarchically linked to other items.

You can use recursive searches for search methods that have search criteria which is hierarchical in structure, such as a Location type, e.g. Assignee; a Classification type; Security Level and so on.

For example, to search for a record that has an Assignee that is any Location within a particular Organisation.

1. Select Assignee as the search method, type in and select an Organisation Location as the search criteria/parameter.
2. Select the Recursive check box to search for records held by the Organisation, as well as by Organisations within the selected Organisation, by Positions within the Organisation and by Persons within the Organisation.
3. Click Add search clause and then click Search.

All records that have an assignee that equals the selected Organization, as well as all Locations (Organizations, Positions, Persons) within its hierarchy will be displayed.

## Phrase Searching

Text type search methods such as Title Word, Document Content, Notes Word have an option to group multiple words as a phrase when searching. To execute a phrase word search, after typing in the search criteria terms, select Group words as a phrase. The search engine formats the search into the required format and only records that match the exact phrase will be returned in the search results.

## Creating Grouped Searches

The Search Editor allows for search clauses to be grouped together, which means they are treated as one operation and are processed before other operations.

To group search clauses together:

1. Add the required search clauses to the Build Query field, as described in Creating a Multiple Clause Search.
2. On the Search Editor dialogue, click Build group
3. Click the search clauses that are to be grouped together and then click Create group.

The grouped search clauses will be grouped together.

Additional search clauses can be added to an existing grouped search:

1. In the Build Query field, select the group search.
2. Find and define the search clause to be added to the group.
3. Click Add search clause.
4. Repeat until all additional search clauses are added to the group. Once complete, click Finish updating search part.

From here, you can continue to add additional simple or advanced search clauses and Filters and/or Sorting options. Once all required search clauses are added, click Search.

The search results will be displayed on the relevant Content Manager object panel.

Once the search has been run, if the search returns a large number of or unexpected results, you can now edit the search, see Editing Searches for details.

If required, the search can be saved. Saving a complex search can be useful if you need to run it more than once as you will only have to build it once, see Creating a Saved Search for details.

## Creating Sub-Searches

The Search Editor allows users to create a sub-search, which is search that uses a search method from another object type to provide the criteria for the selected search method, e.g. searching for records that have an Author based on Locations that all have a specific Last Name.

To create a sub-search:

1. From the global Search panel, using the Search Object Selection drop-down list, select the Content Manager object type to be searched on, e.g. Records, Locations, User Labels.

2. From the global Search panel, click Options and then click Search Editor.

   The <ObjectType> Search dialogue appears.

3. From the list of displayed methods, select the method to be searched for, or search for the method by typing in the Select Method field, then select the required method from the displayed results.

   The Add new search clause details will appear on the Search Editor.

   The list of methods can be displayed either Alphabetically or by their Category, to swap between the display styles, click the display type name.
   If the method is unknown, in the Select Method field, type in a word that is related to what the Search Method is about and then select the method from the displayed list. For example, if you want to search for the location of a record but are unsure of the correct Search Method name, you can type in location and a list of Location type Search Methods, as well as Search Methods containing the word Location will be displayed. This reduces the displayed list of search methods enabling you to find the required one.

4. In the Add new search clause section, from the drop-down list, select Select all items that match a search.

   If this option is not available in the drop-down list, sub-searches are not available for the selected search method.

5. On the All items matching the following search field, click Compose sub search

   The Search: <Search Method> dialogue appears, overlaid on the originating search dialogue, and displays relevant search methods for the sub-search.

6. From the list of displayed methods, select the method to be searched for, or search for the method by typing in the Select Method field, then select the required method from the displayed results.

   The Add new search clause details will appear on the Search Editor.

7. If required, from the drop-down list, select the type of search to be run. Depending on the type of search method selected, these options can include Date range or String format, or Select single item or Select all items that match a search.

   If required you can build another sub search to this search method, select Select all items that match a search and follow these same steps.

8. Type your search criteria into the search method field.

9. Click Add search clause.

   The Search Clause will be added to the Build Query field.

   Repeat steps 6 to 9 for each additional search clause that is to be added to the sub search being built.

   Each search clause will be joined by an AND Boolean operator, by default. To change this to an OR Boolean operator, click the Boolean pill and click Or from the displayed list. See Boolean Operators for additional information.

10. When all search clauses for the sub search have been added to Build Query, click OK.

    The Search Editor dialogue will go back to the originating search dialogue, with the newly created sub search(es) added to the Build Query field.

From here, you can continue to add additional simple or advanced search clauses and Filters and/or Sorting options. Once all required search clauses are added, click Search.

The search results will be displayed on the relevant Content Manager object panel.

Once the search has been run, if the search returns a large number of or unexpected results, you can now edit the search, see Editing Searches for details.

If required, the search can be saved. Saving a complex search can be useful if you need to run it more than once as you will only have to build it once, see Creating a Saved Search for details.

Copyright 2008-2024 Open Text
Version 24.4 | Last updated October 2024
Contact

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to hprmdocumentation@microfocus.com.

We appreciate your feedback!

Product: Content Manager 24.4

Topic Title: Advanced Searching using the Search Editor