Uploading Advanced Search Templates
This article is only applicable to users of Onna Discovery and Onna Enterprise.
Creating an advanced search from a template allows for more complex queries that would otherwise take longer with a normal Advanced Search.
To get started, click on the download icon next to the Advanced search from the template panel:

Open the spreadsheet once it finishes downloading. The spreadsheet contains multiple columns that represent searchable fields where you can specify search terms. Template searches are all text-based where the document contains the specified text.
To get started select the column you want to search on. Below the column header enter a search value. For example, if you want to search for a contract within the extracted text of documents you can enter the following:

The other columns within the template remain in the spreadsheet with their values empty. Once the advanced search template is complete, save the spreadsheet and upload the template by clicking the upload icon:

After the upload, you will return to the Advanced Search page with the generated query and its results. The initial Advanced Search name and query are automatically generated but you can update them by clicking the edit icon:

Advanced Template Searches
Multiple Rows
Terms must be separated by cell and will appears as an OR connector in your Advance Search. For example, if the following is added to the example from above:

The query from this template returns PDF files with extracted text containing contract
, OR DOCX files with extracted text containing terms
.
Searchable Fields Available in Advanced Template
The following fields can be added to the advanced search template by enabling them within the Admin Searchable Fields page.
Confluence
-
confluence_labels
-
confluence_ancestors
DublinCore
-
tags
-
description
Jira
-
jira_assignee
MachineLearning
-
language
-
entities_person
-
entities_email
-
entities_company
-
entities_location
-
from_mail
-
from_mail_name
-
to_mail
-
to_mail_name
-
cc_mail
-
cc_mail_name
-
bcc_mail
-
bcc_mail_name
Metadata
-
author
-
company
-
resource_name
-
application_name
-
extension
-
extracted_text
Origin
-
origin
-
origin_label_ids
-
origin_resource_kind
RelatedSourceAccounts
-
source_accounts
RelatedUsers
-
related_users_emails
-
related_users_names
Resource
-
type_name
-
title
-
computed_title
ResourceIdentities
-
identities
Versioning
-
num_versions