Chat now with support
Chat with Support

Archive Manager for Files 8.5 - ArchiveWeb Guide

Advanced Search

Advanced search uses an expanded set of search criteria with product-specific search capabilities. Advanced search uses three parts to build the search: Criteria, Servers and Document Tags. When all search specifications have been set, click Search in the bottom right-hand corner of the search view.

Criteria

The Criteria page presents the scope, context and file properties of the search. The scope and context of the search are mandatory. If you have installed Archive Manager for Exchange and Archive Manager for Files on the same server, then advanced search can be used for only one product at a time.

search-030

Steps to create an advanced search criteria

1.Click Search from the main menu. The Search view opens.

2.Click the Search tab and then click Criteria from the navigation pane.

3.For the Search Scope, select the Files check box.

4.Ignore the Keyword field.

5.Include options allow you to specify the category of documents to search.

·No selection - only archived documents are searched. Previous versions of these documents are not included.

Select one of the following options:

·Search in archived and deleted documents - all documents will be searched. Previous versions of these documents are not included.

·Search in deleted documents - deleted documents and documents that are marked for deletion will be searched. All other archived documents will be ignored. Previous versions of these documents are not included.

Add an additional criteria:

·Search in versions - Previous versions will be included for the document category specified. The match will be shown for each version separately.

6.In the search Criteria pane, click Add new clause ico-080-green-plus and enter the search criteria using the fields as described below:

a.And/Or - select two or more check boxes to create a nested search phrase with the ico-090-nested-criteria icon as described in the example below.

b.Field - select a property for the file from the drop down.

c.Operator - select an operator from the drop down.

d.Value - enter a text value to search. For date fields, enter the date in the format m/d/yyyy.

7.You can remove a specific row by clicking the Delete ico-100-delete. To reset the search criteria, click Clear in the bottom right corner of the window.

Example of a nested search query

Consider the following search request: All files that were archived on the specified server(s) before 10th November 2020 and the file name contains either the words Wealth or Commerce.

Search criteria contains only file properties. Therefore the nested search criteria can be written as follows:

Archived Date < 11/10/2020 AND (File name contains Wealth OR File name contains Commerce)

 

The context of the search query is restricted to the servers selected in the Servers page.

To define a nested query in the search page, follow the steps described below:

2.Click Search from the main menu. The Search view opens.

3.Click the Search tab.

4.In the search Criteria pane, click Add new clause ico-080-green-plus and enter the search criteria using the fields as described below:

a.Field: Archived Date

b.Operator: <

c.Value: 11/10/2020

5.Click Add new clause and enter the search criteria using the fields as described below:

a.And/Or: And

b.Field: File name

c.Operator: Contains

d.Value: Wealth

6.Click Add new clause and enter the search criteria using the fields as described below:

a.And/Or: Or

b.Field: File name

c.Operator: Contains

d.Value: Commerce

7.Since File name Contains Wealth Or File name Contains Commerce are nested criteria, select the two check boxes where the Field value is File name. Then click the ico-090-nested-criteria icon that is activated. The fields that are grouped are marked as shown on the image below:

search-030

Servers

Click Servers in the left pane to select which servers you want to search through. At least one server must be checked to allow searching. The specified selection is preserved across sessions unless the option Remember last mailbox / server selection in the Profile page is unchecked.

clip0031

Document tags

The Document Tags page displays the tags that you can specify in a search. See Tags for more information about setting up document tags. To search for files that are tagged, do the following:

1.Select one or more document tags.

2.Select a search option as described below:

a.Marked with all selected tags - select this option to search files which are tagged with all the selected tags.

b.Marked with any selected tag -  select this option to search files which are tagged with any of the selected tags.

clip0029

 

How to build search queries

This topic describes how to build search conditions using the keyword search and advanced search capabilities of Archive Manager for Files. A search condition (or query) can contain zero or more search clauses that are combined using operators and grouping of search clauses.

In this topic

·Simple conditions

·AND/OR operators

·Grouping

·Keyword search


Simple Conditions

A simple search conditions needs no search clause or can contain just one search clause.

Example 1

Click Search without adding a search clause. In this case, you will get back all the archived items.

Query

search-file-250

Result

search-file-260

Example 2

Add a single search clause with a condition where the field File Name contains the value "10". When you click Search, you will get back all the archived items where the File Name contains the value "10".

Query

search-file-270

Result

search-file-280


AND/OR operators

The AND/OR operator is used between two search clauses. With these operators, you can combine two or more search clauses. The AND operator will return a search result if both the search clauses separated by the AND operator are fulfilled. The OR operator will return a search result if any one of the search clauses separated by the OR operator are fulfilled. The AND operator has a higher priority over the OR operator. When a search condition contains both the AND and OR operators, the search clauses that are combined with the AND operator must be fulfilled first.

Example 1

To find all items where the File Name contains the value "10" AND the Folder Path contains the value "10", you must combine two search clauses as shown:  

Query

search-file-290

Result

search-file-300

Example 2

To find all items where the File Name contains the value "10" OR the Folder Path contains the value "10", you must combine two search clauses as shown:

Query

search-file-310

Result

search-file-320


Grouping

Sometimes simple combinations of search clauses with the AND and OR operators are not enough. Grouping is a good solution to change the priority between the operators. The grouped search clauses have a higher priority than the operator before or after the group. The examples in this section describe how the grouping works and what is the difference between the grouped queries and queries without grouping.

Example 1

To find all items where the File Name contains the value "10" OR the Folder Path contains the value "10", and all these items must also have bigger file size than 1.5MB then the search condition is as shown:

Query: (File Name contains "10" OR Folder Path contains "10") AND File Size > 1.5MB

search-file-330

Result: (File Name contains "10" OR Folder Path contains "10") AND File Size > 1.5MB

search-file-340

We can split this search condition into two parts

1. (File Name contains "10" OR Folder Path contains "10") which is a group

2. AND File Size is bigger than 1.5MB

Since a grouping has a higher priority, the search condition in the group must be fulfilled first. In this case each item in the search result will have a File Name contains the value "10" OR the Folder Path contains the value "10", and the item must be bigger than 1.5MB.

Example 2

To find all items where the File Name contains the value "10", or the Folder Path contains the value "10" and at the item size must be bigger than 1.5MB, then the query is as shown:

Query: File Name contains "10" OR Folder Path contains "10"AND File Size > 1.5MB

search-file-350

Result: File Name contains "10" OR Folder Path contains "10"AND File Size > 1.5MB

search-file-355

This query can be split into two parts

1. File Name contains "10" OR

2. Folder Path contains "10"AND File Size > 1.5MB

The AND operator has a higher priority so the search clauses combined with the AND operator must be fulfilled first. In this case the search result will contain items where the item size must be bigger than 1.5MB and the Folder Path must contain the value "10", or the File Name should contain the value "10".

Example 3

To find all items where the File Name contains the value "10", and the Folder Path contains the value "txt" or the item size is bigger than 1.5MB, and the item Archived Date is older than 9/4/2021 then the search condition is as shown:

Query: File Name contains "10" AND (Folder Path contains "txt" OR File Size > 1.5MB) AND Archived Date < 9/4/2021"

search-file-360

Result: File Name contains "10" AND (Folder Path contains "txt" OR File Size > 1.5MB) AND Archived Date < 9/4/2021"

search-file-370

This query can be split into three parts

1. File Name contains "10" AND

2. (Folder Path contains "txt" OR File Size > 1.5MB)

3. AND Archived Date < 9/4/2021"

The grouped search clauses have the higher priority in this query so the search condition in the group must be fulfilled first. In this case the search result will contain items where the File Name must contain the value "10" + Folder Path should contain "txt", or the item size should be bigger than 1.5MB + Archived Date should be older than 9/4/2021.

Example 4

To find all items where the File Name must contain the value "10" and the Folder Path must contain the value "txt", or the item size is bigger than 1.5MB and the item Archived Date must be older than 9/4/2021 then the search query is as shown:

Query: File Name contains "10" AND Folder Path contains "txt" OR File Size > 1.5MB AND Archived Date < 9/4/2021"

search-file-380

Result: File Name contains "10" AND Folder Path contains "txt" OR File Size > 1.5MB AND Archived Date < 9/4/2021"

search-file-390

This query can be split into two parts

1. File Name contains "10" AND Folder Path contains "txt" OR

2. File Size > 1.5MB AND Archived Date < 9/4/2021"

The AND operator has a higher priority in this query so the conditions with the AND operators must be fulfilled first. In this case the search result will contain all items where File Name must contain the value "10" and the Folder Path must contain the value "txt", or the item size is bigger than 1.5MB and the item Archived Date must be older than 9/4/2021.

Example 5

To find all items where the File Name contains the value "10" or Archived Date is newer than 9/4/2021, and the item size is bigger than 1.5MB or the Folder Path contains the value "image", then the query is as shown:

Query: (File Name contains "10" OR Archived Date > 9/4/2021) AND (File Size > 1.5MB OR Folder Path contains "image")

search-file-400

Result: (File Name contains "10" OR Archived Date > 9/4/2021) AND (File Size > 1.5MB OR Folder Path contains "image")

search-file-410

This query can be split into two parts

1. (File Name contains "10" OR Archived Date > 9/4/2021) AND

2. (File Size > 1.5MB OR Folder Path contains "image")

The grouped condition has the higher priority in this query so the conditions in the group must be fulfilled first. In this case the search result will contain items where File Name should contain value "10" or Archived Date should be newer than 9/4/2021 + item size should be bigger than 1.5MB or the Folder Path should contain "image".

Example 6

To find all items where the File Name contains the value "10" or Archived Date is newer than 9/4/2021 and the item size is bigger than 1.5MB or the Folder Path contains the value "image", then query is as shown:

Query: File Name contains "10" OR Archived Date > 9/4/2021 AND File Size > 1.5MB OR Folder Path contains "image"

search-file-420

Result: File Name contains "10" OR Archived Date > 9/4/2021 AND File Size > 1.5MB OR Folder Path contains "image"

search-file-430

This query can be split into three parts

1. File Name contains "10" OR

2. Archived Date > 9/4/2021 AND File Size > 1.5MB

3. OR Folder Path contains "image"

The AND operator has a higher priority so the conditions with the AND operator must be fulfilled first. In this case the search result will contain items where File Name should contain value "10" or Archived Date must be newer than 9/4/2021 and item size must be bigger than 1.5MB or Folder Path should contain "image".


Keyword search

Keyword search provides a fast and flexible search for keywords in the file content in Metalogix Archive Manager for Files. If you leave this field empty, then the search result will show all archived files. If you enter a word or phrase in the keyword field and click Search the result of the search will show all the archived items which contains the entered word or phrase.

Example 1

You can combine keyword searches with advanced search clauses to find specific item. Keyword searches are combined with advanced search conditions with the AND operator. The search result will contain items that have the keyword and the advanced search conditions as well. To find all items where the File Content contains the word "outside" and the File Name also contains the value "10", the search query is as shown:

Query

search-file-440

Result: The File Name contains the value "10", and the file content contains word "outside"

search-file-450

Search Results

Keyword search

When both Archive Manager for Exchange and Archive Manager for Files are installed on the same server, keyword search results are listed in separate tabs. clip0033C

Advanced search

For advanced search, the search results for a specific product are listed since advanced search uses an expanded set of search criteria with product-specific search capabilities.

clip0033B

When you highlight an item from the list, the details of the item is displayed in the pane below the list. The contents of the item are also displayed. If the item is an email with an attachment or a file, the contents of the attachement or file are visible only if the application to view the attachment is also installed on the server. For example, if a PDF viewer is not installed on the server, then the contents of the PDF file will not be visible.

Search Operations

Search operations are asynchronous. Every search operation is listed in the Tasks page.

When you highlight an item, select one or more items or select all items, you can choose an action from a menu to operate on the highlighted or selected item.

When Keyword search is used, keywords in the search results can be highlighted (this function is available only for Exchange search).

 

Edit query - redirects you to the previous search page where you can perform a new search after editing the existing query.

List view contains the following special columns:

oFolder – specifies item’s location (for Exchange search results it is mailbox folder name, for Files search results it is directory path)

List columns can be managed (show/hide) in the Columns section of the user profile (click <UserName> / Manage settings / Profile).

info

NOTE: For Archive Manager for Files matches can be displayed also for non-supported files such as MS Office documents and HTML. For more details see the “List view conventions” section.

 

 

Search History

Every search in ArchiveWeb is logged and displayed in the History page. Search history is stored in the search history cache separately for each logged in user who runs a search. Each search history log entry indicates the search type (Exchange, File or Keyword) and the start date and time of the search in the log entry header.

In this topic:

·Viewing the search result summary

·Viewing the search query

·Viewing the search results

·Editing the search query

·Saving the search query

·Extending search history

·Cleaning up search history

 


Viewing the search result summary

1.Click Search on the main menu and then click History.

2.Click ico-050-show to show the Search result summary section.

clip0034A

The search result summary section presents the following information

a.Started by - username of the person who ran the search.

b.Start time - date and time the search was started.

c.SID - unique search identifier.

d.End time - date and time the search was completed.

3.Click ico-055-hide to hide the Search result summary section.

 


Viewing the search query

1.Click Search on the main menu and then click History.

2.Click ico-050-show to show the Search query section.

clip0034A

The search query section presents the following information

a.Scope equals - the application data that is searched.

b.Include equals - the data set within the search scope that is included in the search.

c.Mailbox equals - the mailboxes that are included in the search.

d.SQL Query equals - SQL query that was used to search for archived items.

e.Maximum number of search results equals - the upper limit of the result set that was configured for ArchiveWeb when the search was started.

3.Click ico-055-hide to hide the Search query section.

 


Viewing the search results

1.Click Search on the main menu and then click History.

2.Locate the search you want to review.

3.Click ico-070-view-result to rerun the search. The search results page will open with the search results.

 


Editing the search query

1.Click Search on the main menu and then click History.

2.Locate the search you want to review.

3.Click ico-040-edit to edit the search query. The main search page opens where you can review and revise the search options and query.

 


Saving the search query

1.Click Search on the main menu and then click History.

2.Locate the search you want to review.

3.Click ico-075-save to save the search query. The Save Search As dialog opens.

clip0035

4.Enter a suitable name in the Search template name field. Then click Save to save the search query as a template.

 


Extending search history

The search history page displays the last 10 searches by default. To customize the display limit follow the steps described below:

1. Open the C:\Program Files\Metalogix\MAMSearch\PamSearch.exe.config file.

2.Add a new section name (if it does not exist) under the <configSections> node

<?xml version="1.0" encoding="utf-8"?>

  <configuration>

     <configSections>

         .

         .

        .

        <section name="SearchHistory" type="System.Configuration.NameValueFileSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

     </configSections>

3.Create a new SearchHistory section (if it does not exist)

<?xml version="1.0" encoding="utf-8"?>

  <configuration>

     <configSections>

         .

         .

        .

        <section name="SearchHistory" type="System.Configuration.NameValueFileSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

     </configSections>

    <SearchHistory>

        <add key="maxcount" value="20" />

    </SearchHistory>

        .

         .

        .

  <configuration>

 

4.The maxcount value can be any number between 1 and 2147483647. When this key is missing from the PamSearch.exe.config file, the default value 10 is used.

 


Cleaning up search history

Search history is stored SQLITE files in a cache folder. The default location is C:\Program Files (x86)\Metalogix\MAMSearch\SearchCache\<userSID>\*.sqlite and the cache is periodically cleaned. To customize the search history cache retention time limit follow the steps described below:

1. Open the C:\Program Files\Metalogix\MAMSearch\PamSearch.exe.config file.

2.Add a new section name (if it does not exist) under the <configSections> node

<?xml version="1.0" encoding="utf-8"?>

  <configuration>

     <configSections>

         .

         .

        .

        <section name="SearchHistory" type="System.Configuration.NameValueFileSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

     </configSections>

3.Create a new SearchHistory section (if it does not exist)

<?xml version="1.0" encoding="utf-8"?>

  <configuration>

     <configSections>

         .

         .

        .

        <section name="SearchHistory" type="System.Configuration.NameValueFileSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

     </configSections>

    <SearchHistory>

        <add key="timelimit" value="365.23:59:59" />

    </SearchHistory>

        .

         .

        .

  <configuration>

 

4.The timelimit format is days.hours:minutes:seconds. For example, the value 365.23:59:59 indicates that the search history entries will be stored for 365 days, 23 hours, 59 minutes and 59 seconds.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating