Welcome to Voyager Help

Use the Search field below or select a Category from the list at the left

Configuring Advanced Filters Parameters and Values

Voyager’s configuration settings in Server’s Manage UI and in Vose’s HQ allow users to fine tune a range of indexing options. When adding a Repository, admins can limit indexing based on format types, file name, and file contents. In addition to this, filtering based on other criteria are also configurable through HQ’s Advanced Filtering option. Users can specify a variety of Exclusion Rules to further tailor their index settings. 

To access Advanced Filters:

  • Go to Add New Repo. Enter Connection Info >> select Custom Settings.  
  • Under Formats, select Exclusion Rules 

Use the Exclusion Rules option to setup specific conditions for indexing. Some examples are included below. 

1. Indexing files based on file size (ex: between 5 MB and 20 MB)

This option allows admins to index files that meet certain size specifications.

{"file": {
  "_class": "voyager.api.discovery.path.InverseFilter",
  "wrap": {
    "_class": "voyager.api.discovery.path.FileSizeFilter",
    "max": 20000000,
    "min": 5000000
  }
}}

Note: The Min and Max values are in Bytes. 

2. Indexing based on folders and sub-folders 

This option allows admins to exclude subfolders when indexing a folder repository. 

{
  "type": "Folder",
  "file": {
    "type": "Name",
    "match": {
      "type": "Any",
      "vals": [
        {
          "type": "InSet",
          "val": [
            "NAME OF FOLDER TO EXCLUDE 1",
            "NAME OF FOLDER TO EXCLUDE 2"
          ]
        },
       ]
    }
  }
}

Note: This exclusion setting works for subfolders that are upto 3 children deep.

3. Index only files ending in extensions (ex: .aaa)

This option allows users to index files based on listed extensions.  

{"file": {
  "_class": "voyager.api.discovery.path.PatternListFilter",
  "value": "**/*.aaa"
}}

4. Exclude filenames that contain the string "temp"

This option allows users to exclude indexng of temp files.  

{"file": {
  "_class": "voyager.api.discovery.path.NameFilter",
  "match": {
    "_class": "voyager.api.util.ContainsMatcher",
    "pattern": "temp"
    }
  }
}

Web Design and Web Development by Buildable