- Print
- DarkLight
- PDF
The Advanced Search
The search bar is accessible in all Constellio screens. The search engine indexes the content of certain fields in the database, according to the choices made when creating the metadata, as well as part of the content of documents. This makes it possible to easily find all the elements constituting a document by a simple keyword.
The advanced search allows you to refine a search by adding criteria and selecting an object type.
1. Accessing the advanced search
The advanced search is accessible via the arrow on the right of the simple search field.
It is possible to combine the advanced search and the simple search. Thus, it is possible to write a term in the simple search bar and assign advanced search criteria to it.
2. Performing an advanced search
2.1 Type
Five types of records (schema types) are available to search: container, document, folders, location and tasks.
Configuration
It is possible to remove record types from the advanced search. Go to Control -> Metadata schemas -> View the record you want to remove from the advanced search -> Drop down menu -> Edit schema -> Uncheck "Add to advanced search". You will need to log out to implement the change.
2.2 Schema
It is also possible to select a specific schema for each type of schema, otherwise Constellio will search in all schemas. If the record is linked to a type, it will be easier to find with the search. To learn more about these custom schemas, see the article on metadata schemas.
2.3 Search Criteria
The search criteria are the metadata available according to the selected schema type. The metadata displayed will differ from one type to another.
It is also possible to add a Boolean operator by selecting AND / OR / NOT between each criterion.
Field Name | Operator | Description | Image |
Show disabled metadata | By default, all disabled metadata are not included in the list of search criteria. Just press this button to display them in the drop-down menus. | ||
Search criteria | The search criteria are mandatory to perform an advanced search. | ||
Equal (=) | The searched value will be present in the search criteria. | ![]() | |
Smaller than (<) | The value searched is smaller than the date indicated. Applies only to one date*. | ||
Greater than (>) | The value you are looking for is greater than the date indicated. Applies only to one date*. | ||
Between | The value you are looking for is between the two dates indicated. Applies to two dates*. | ||
Empty | The search criteria will be empty. | ||
Not empty | The search criterion will be filled in. | ||
Exact expression | When the option is checked, the expression written in the value should be exactly the same as the search result. This option is sensitive to accents, upper/lower case, etc. This option is not mandatory. |
2.4 Les opérateurs booléens
Boolean operators | Description |
AND | The phrase ["ski" and "alpine"] will identify documents containing both terms. |
OR | The phrase ["ski" or "alpine"] will identify documents containing either of the two terms. |
NOT | The phrase [ski "except" alpine] will identify documents containing the term ski without the term alpine. |
Parentheses | Parentheses play a role in organizing and combining search criteria. As in mathematical equations, the parenthesis is processed first. The white boxes at the beginning of the search criteria line and just before the join are used to enter the parentheses. |
Example of the combined use of the junction and parentheses
The figure below illustrates how to locate all records containing the word ski in the title as well as at least one of these other three terms in the title: "alpine", "cross-country" and "nautical".
2.5 Empty the advanced search
It is possible to empty the advanced search.
3. Saved searches
This option allows you to save the search criteria and not the search results. If new items are added in Constellio and they meet the search criteria, the search result will be different from the result obtained when the search was saved.
3.1 Saving a search
- Perform a search;
- In the search results: click on "Save this search";
- In the "Save this search" window, indicate a title for this search.
- Check "Share this search" if this search should be shared with all users, or certain groups and users.
Field Name | Description |
---|---|
Title | Allows you to name the saved search. |
Overwrite the current saved search | Allows you to modify a saved search. |
Save as a new search | Saves the search as a new record. |
Overwrite another saved search | Allows you to modify a saved search by overwriting the old criteria. |
Not shared | The search is only available in your saved searches. |
Shared with all users | The search is available to all users of the collection. However, security is still respected. |
Share with some groups and users | The search is available to selected groups and users. However, security is still respected. |
3.2 Consulting a saved search
- Go to the advanced search screen;
- Click on "Saved searches";
- Click on the magnifying glass of a saved search to return to the results of that search.
3.3 Modifying a saved search
- Go to the advanced search screen;
- Click on "Saved Searches";
- Click on the notebook of a saved search;
- This window appears. Change the desired metadata and "Save";
- The search has been modified.
Sharing options
It is only possible to modify the sharing options and the title through the notebook.
3.4 Overwriting the current search
- Go to the advanced search screen;
- Click on "Saved Searches";
- Click on the magnifying glass of a saved search to return to the results of that search.
- Change items in the search, then click on "Save this search";
- In the window, click on "Overwrite current search", then "Save";
- The saved search will be modified.
3.5 Overwriting another search
- Perform a search;
- Click on "Save this search";
- In the "Save this search" window, click on "Overwrite another search";
- This window appears, select the search you want to overwrite with this one. "Save";
- The new search replaces the old one linked to the selected title.
3.6 Deleting a saved search
- Go to the advanced search screen;
- Click on "Saved Searches";
- Click on the "X" at the end of the saved search you wish to delete;
- Confirm the deletion. The saved search is no longer available.
3.7 Exporting a saved search
Exporting a saved search allows you to transfer the items in a search from one collection or environment to another. The generated file can be imported into the "Import Records" page of the Pilot. Once the file is imported, the saved search will be recreated in the new environment.
- Go to the advanced search screen;
- Click on "Saved Searches";
- Click on the option to export a saved search;
- This will download a zip file to your workstation;
- Change the collection or environment, then go to "Administration";
- Click on "Import records";
- Import the XML file into this page. The saved search is now available in the collection/environment.