Advanced search
  • 15 Dec 2023
  • 17 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Advanced search

  • Dark
    Light
  • PDF

Article Summary

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.


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.1  Type 

Five types of records (schema types) are available to search: container, document, folder, 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 criteria.

Field NameOperatorDescriptionImage
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*.

EmptyThe search criteria will be empty.
Not emptyThe 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 operatorsDescription
ANDThe phrase ["ski" and "alpine"] will identify documents containing both terms.
ORThe phrase ["ski" or "alpine"] will identify documents containing either of the two terms.
NOTThe phrase [ski "except" alpine] will identify documents containing the term ski without the term alpine.
ParenthesesParentheses 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. 

It is important to clear the advanced search criteria before starting a new one.

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

  1. Perform a search;
  2. In the search results: click on "Save this search";
  3. In the "Save this search" window, indicate a title for this search. 
  4. Check "Share this search" if this search should be shared with all users, or certain groups and users.
Field NameDescription
TitleAllows you to name the saved search.
Overwrite the current saved searchAllows you to modify a saved search.
Save as a new searchSaves the search as a new record.
Overwrite another saved searchAllows you to modify a saved search by overwriting the old criteria.
Not sharedThe search is only available in your saved searches.
Shared with all usersThe search is available to all users of the collection. However, security is still respected.
Share with some groups and usersThe search is available to selected groups and users. However, security is still respected.

3.2 Consulting a saved search

  1. Go to the advanced search screen;
  2. Click on "Saved searches";
  3. Click on the magnifying glass of a saved search to return to the results of that search.
In this window, it is possible to see the searches saved by the user, but also those that other users have shared with him under "Shared search(s)".

3.3 Modifying a saved search

  1. Go to the advanced search screen;
  2. Click on "Saved Searches";

  3. Click on the notebook of a saved search;
  4. This window appears. Change the desired metadata and "Save";
  5. 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

  1. Go to the advanced search screen;
  2. Click on "Saved Searches";
  3. Click on the magnifying glass of a saved search to return to the results of that search.
  4. Change items in the search, then click on "Save this search";
  5. In the window, click on "Overwrite current search", then "Save";
  6. The saved search will be modified.

3.5 Overwriting another search

  1. Perform a search;
  2. Click on "Save this search";
  3. In the "Save this search" window, click on "Overwrite another search";
  4. This window appears, select the search you want to overwrite with this one. "Save";
  5. The new search replaces the old one linked to the selected title.

3.6 Deleting a saved search

  1. Go to the advanced search screen;
  2. Click on "Saved Searches";
  3. Click on the "X" at the end of the saved search you wish to delete;
  4. 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.

  1. Go to the advanced search screen;
  2. Click on "Saved Searches";
  3. Click on the option to export a saved search;
  4. This will download a zip file to your workstation;
  5. Change the collection or environment, then go to "Administration";
  6. Click on "Import records";
  7. Import the XML file into this page. The saved search is now available in the collection/environment.

4. List view / table view

This option allows you to change from a list view to a table view and vice versa. There are some notable differences between the two modes: 

4.1 List view

The list view is the primary view and presents the search results in a list format. The metadata of the records are displayed below them. Constellio automatically displays the "Date modified" metadata. However, the display of its metadata can be modified via the Control -> Metadata schemas. In addition, icons are used to differentiate the different records (document, folder, container, task and location). This view also shows a preview of the first page of the documents via the thumbnails.

In the list view, the consultation of the records is done through the split-panel window. This allows you to view the records in the search results without forcing the user to leave the current page. It is therefore possible to quickly consult information about these records via the search results (viewer, content, metadata, tasks, audit, etc.). It's only available on documents, tasks and containers.

In the results strip, there is an icon to sort the results. When clicked, it is possible to select how the documents will be sorted. By default, it is possible to sort by relevance, title and modification date. When more than two entries are chosen for sorting, it is possible to order them to create a "cumulative sort".

Through the sliding "Filter" window, search results can be sorted by relevance and can also be recomposed according to the new criteria selected. Facets are actually metadata used to describe a record. It is by selecting one or more of them that the results are refined.

At the bottom of the page, it is possible to change the number of results per page (10, 25, 50 or 100). Constellio automatically displays 10 results at a time. Arrows are also present to navigate between pages of search results. The default number of records displayed can be changed by modifying the user's profile.

The advantages of the list view

-Thumbnail
-Split view (only available on documents, tasks and containers)
-Drag and drop of folders and documents
-Editable number of search results


4.2 Table view

The table view is only available in advanced search. It is displayed by pressing the table icon, located at the top right of the search results. This view allows you to consult the records in table form and thus have a concentrated view of the search results. It facilitates the configuration of metadata as well as sorting by metadata. In this view, metadata is displayed in table columns for each record. Like the list view, the display of its metadata can be modified, as needed.

A hidden button appears when you hover over each line of the record, and allows you to copy the text corresponding to each metadata .

Another button hidden in the form of a gear is accessible at the top right of the table and also appears when the cursor passes. It allows you to quickly select and deselect several metadata that you want to display at table level. It is also possible to remove this option in the configurations by going to: Control -> Configuration -> Advanced -> Uncheck -> “Allow dynamic display of metadata fields in the columns of a table”. When removing the configuration, the display of this metadata will only be modifiable via Control -> Metadata Schemas.

The table view is only available in advanced search. It appears by pressing the table icon, located at the top right of the search results. This view allows you to view the records in a table format and thus have a concentrated view of the search results and facilitates the configuration of metadata and sorting by metadata.

Unlike list view, table view displays all search results on one page. To sort, you can use the arrows to the right of each metadata column. You can therefore sort the results according to the selected column, whether by title (A to Z) or by date (from the most recent to the oldest). Additionally, you can apply and sum the sort on other columns as needed. You also have the option to prioritize your sorting and select sorting criteria, such as relevance, title, or other options. In the results strip, there is an icon to sort the results. When clicked, it is possible to select how the documents will be sorted. By default, it is possible to sort by relevance, title and modification date. When more than two entries are chosen for sorting, it is possible to order them to create a "cumulative sort" as in list view.

It is important to note that sorting will not be available in the "Facets" sliding window, but you will still be able to select facet criteria. Facets are actually metadata that we use to describe a record. By choosing one or more of them, you can refine your results.

You can also limit the display of sorting criteria via the configuration "Display only summary metadata in searches and tables" in Control -> Configuration -> Search -> Check "Display only summary metadata in searches and tables". This configuration allows to display only the metadata that are available in the search and tables, for more information see the page Create a custom metadata schema


5. Actions on the selection

The selection action menu allows you to take action on multiple records (folders, documents, containers and tasks) in the search results. 

The selection action menu appears when records are checked off. The available options change depending on the records selected.


5.1 Select all / Unselect all


This option allows you to select all search results and deselect all search results. This way, it is faster to select the results on which to perform an action.

 


5.2 Add to your favorites

This option allows you to add the selected records to a new favorites group, an existing favorites group or a shared favorites group. Favorites allow for batch processing, emailing of documents and many other features.

For a new bookmark, enter a name and click on "Save". For an existing or shared bookmark, select the name of the bookmark group. Please note that the "My favorites" group is personal to the user. It cannot be deleted or shared. For more information, see the article on bookmarks.


5.3 Moving

This option allows you to move the selected records into a new folder. Folders that are moved to a new folder will therefore become subfolders.


5.4 Copying

This option allows you to copy the selected recordings to a new folder. The word "(Copy)" is added after the title of the record. The folders that will be copied into a new folder will become subfolders as a result.


5.5 Creating a SIP archive

This option allows you to generate a SIP archive with the selected records.

A SIP archive is a ".zip" type file allowing long-term preservation of digital documents. In the file generated by Constellio, each electronic document is located in a folder tree representing the classification scheme and accompanied by an XML file containing the metadata related to the documents/folder.


5.6 Consultation link

This option allows you to obtain the URL links of the selected records in Constellio. 

Access
If the person you are sharing the link with does not have access to the records or documents, it will take them back to the home page. You can then use the "Share" function to give them specific access to the record of your choice.


5.7 Printing labels

This option allows you to print the labels of the selected records. For more information, see the article on labels.


5.8 Borrowing/Returning Request

This option allows you to make a borrowing request or a return request. The borrowing request is sent to the document manager and after that person accepts the request, the status of the record will change to "Borrow". When the record is borrowed, a return request can be made.


5.9 Adding to the basket

This option allows you to add the selected records in the "Basket" window. Thereafter, it is possible to perform several actions on one or more records added to the selection: add to your favorites, move, copy, return (if the document is borrowed), prepare an email, generate a metadata report, and create a SIP archive.


5.10 Deleting

This option allows you to delete the selected records. After clicking on "Delete", it is necessary to confirm the deletion. The records will then be sent to the Recycle Bin.

It is possible to restore them according to the number of days of conservation provided in the configuration of the recycle garbage can. This configuration is found in: Control -> Configuration -> Others -> "Number of days before deleting items from the Recycle Bin".


5.11 Creating a task

This option allows you to create a task from one or more records. These will be linked under the "File" tab of the task.

Only folders and documents can be selected to create a task from the action menu.

5.12 Generating a report

This option allows you to download or print a metadata report for the selected records. When doing this, it is necessary to choose a report template, which must first be created in the Control -> Printable management, see the metadata report article for more information.

Available in the advanced search.

5.13 Duplicating

This option duplicates the record while keeping the metadata. The word "Copy" in parentheses is added to the title of the new record when duplicating.


5.14 Batch processing

Batch processing implies that the same metadata or metadata is to be modified for all elements of the selected search result. After a search, it is possible to perform batch processing on all search results or on selected search results. For more information, see the article on batch processing.

Available in the advanced search.

5.15 Preparing an email

This option allows you to send an email with the selected documents to users who do not have access to Constellio.

Available on the selection of documents.

5.16 Generating a PDF

This option allows you to generate a PDF document with the selected documents. 

The document is displayed after its generation, you can also download the PDF document. If the document includes metadata reports, a metadata report is present for each document in the generated PDF document.

Available on the selection of documents.

5.17 Downloading (zip)

This option allows you to generate a ".zip" file with the selected documents.

Unlike the SIP archive, this is a file that can only contain (binary) documents.

Available on the selection of documents.

5.18 Creating a shortcut

This option allows you to create a shortcut to another folder. This way, you will find your record in the selected folder. It is possible to create several shortcuts.


6. Configurations

In this section you will find all the system configurations that affect the folders. To learn more about the configurations, see the article "System configurations".

Advanced Tab
ConfigurationDescriptionPossible values
Impacts
File extensions to exclude from parsing (separated by commas)This configuration allows you to enter digital document extension types to be ignored during content indexing.
Values entered in this field begin with a period and are separated by commas (e.g.: .mdb, .mp4, .jpeg)
The content will not be indexed for the simple search.
Maximum number of search resultsthat can be selected
This configuration allows, after a search, to select the indicated number of results to execute actions on them.
Number of results
The number of selectable results will be limited according to this number.
Others Tab
ConfigurationDescriptionPossible values
Impacts
Time delay between sending and saving for minor saving (preferably between 7 to 10 seconds)This configuration allows you to define a refresh time for changes made to records.
Number of seconds
The specified number of seconds will be applied to the refresh delay.
Reports Tab
ConfigurationDescriptionPossible values
Impacts
Add statistics report to available reports
This configuration allows you to have an additional statistics report, in the "generate a report" option of the advanced search.
ActivatedThe statistics report will be available.
Deactivated
The statistics report will not be available.
Search Tab 
ConfigurationDescriptionPossible values
Impacts
Separation criterion for autocompletion
This configuration allows you to choose how the autocompletion results will be available.
Espace
Depending on your selection, this will dictate the autocomplete criteria in the search.

For example: "Michel_Tremblay, summer is almost over." If the value is "Space and underscore". "Michel" and "Tremblay" would be available separately.

Space and underscore
Space and comma
Space, comma and underscore
Space and apostrophe
Space, apostrophe and underscore
Space, comma, underscore and apostrophe
Display only summary metadatas in searches and tables
This configuration allows for more performance by displaying only summary metadata in searches and tables.
ActivatedOnly summary metadata will be displayed in the table view of the advanced search.
Deactivated
All metadata will be displayed in the table view of the advanced search.
Enable the display of inactive schemas in the advanced search
This configuration allows inactive metadata schemas to be displayed in the advanced search.
ActivatedInactive metadata schemas will be displayed in the advanced search.
Deactivated
Inactive metadata schemas will not be displayed in the advanced search.
Lazy loaded search results
This configuration allows you to change the way the search results are displayed.
ActivatedThe search results screen displays the facets before the search results.
Deactivated
The search results screen displays the facets along with the search results.
No links for search results metadatas (improves search performance)
This configuration allows you to remove links to folders and containers in the metadata of search results.
Activated
The links are clickable.
Deactivated
The links are not clickable.
Consider the whitespaces of the simple search as ANDs
This configuration allows you to modify the mechanics of the simple search.
Activated
The simple search considers the spaces between the search terms as AND.
Deactivated
The simple search considers the spaces between the search terms as ORs.
Show copied metadata separately in advanced search
This configuration allows the removal of all
Activated
The copied metadata are removed from the list of available metadata in a search criteria. These metadata will then be accessible via their reference metadata by choosing one of the 2 new search operators Contains and Does not contain. When one of these two operators is selected, a drop-down menu is displayed to choose a copied metadata that has the selected metadata as a reference and a component to enter the value of the copied metadata to be searched. (For example, searching on the Document type or the Folder metadata contains an opening date of X)
Deactivated
The copied metadata are directly available in the search criteria. 
Show search results numberingThis configuration allows you to number the search results.
Activated
The results will be numbered.
Deactivated
The results will not be numbered.


Sort by


This configuration allows you to define a default sort for simple or advanced search results.
Relevance
The most relevant results are displayed first. Relevance is calculated according to an algorithm.
Path (ascending)

The search results will display the full path of a folder.

*For example: Unit A - Sub-Unit B - Folder - Sub-Folder X

Path (descending)
The search results will display the path in descending order.
Identifier (ascending)The results will be sorted by ID in ascending order.
Identifier (descending)The results will be sorted by ID in descending order.
Creation date (ascending)The results will be sorted by creation date in ascending order.
Creation date (descending)The results will be sorted by creation date in descending order.
Modification date (ascending)The results will be sorted by modification date in ascending order.
Modification date (descending)The results will be sorted by modification date in descending order.






Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.