Email Collection

Email Collections can index content from PST files including attachments and documents from file-systems. It is recommended to index only PST files using this collection.

Creating Email Collection

After logging in to the Admin Console, click Add Collection button. The Add Collection screen will be displayed.

  • Enter a unique name for the collection (for example, EmailArchive).
  • Select Email radio button.
  • Choose the language of the content.
  • Click Add to create the new collection.
925

The email collection settings page allows you to configure the directory paths and filters for the collection. To access the paths settings for the collection, click on the collection name in the collections list.

Email Collection Path Settings

Directory Paths

The directory path is the starting path for the crawler. The crawler recursively indexes files within the folders. Enter at least one directory path for the collection. For example, c:\salesdocs or /var/web/html/salesdocs

Allow/Disallow Paths

Allow and Disallow filters make it possible to manage a collection by excluding unwanted documents.

FieldDescription
Directory PathThe directory path is the starting path for the crawler.
Allow PathsC:\\www\\html\\*
When creating an email collection, specifying an allow filter is optional since the indexer is only going to look into sub-folders, but if any symbolic links are placed, the spider will move to linked directories.
Disallow PathsC:\\www\\html\\noindex\\.*
\\cgi-bin\\.*
Allowed FormatsSelect which formats are eligible to be part of the collection using the checkboxes.
File formats supported in email collection are HTML, XML, Word, Powerpoint, Excel, Visio, PDF, Text, RTF, EPUB, AutoCAD, OpenOffice, iWorks, WordPerfect, Images, Audio, Video, PST files, Email, and Archive.

Email Collection Settings

The Settings sub-tab holds tunable parameters for the email collection. SearchBlox comes pre-configured with parameters when a new collection is created.

The settings that can be configured are listed as follows:

SettingDescription
Keyword-in-Context Display The keyword-in-context returns search results with the description displayed from content areas where the search term occurs.
Maximum Document Age Specifies the maximum allowable age in days of a document in the collection.
Maximum Document Size Specifies the maximum allowable size in kilobytes of a document in the collection.
Remove DuplicatesWhen enabled, prevents indexing duplicate documents.
BoostingBoost search terms for the collection by setting a value greater than 1 (maximum value 9999).
Stemming When stemming is enabled, inflected words are reduced to a root form. For example, "running", "runs", and "ran" are the inflected form of a run.
Spelling Suggestions When enabled, a spelling index is created at the end of the indexing process.
Logging Provides the indexer activity in detail in ../searchblox/logs/index.log.

The details that occur in the index.log when logging or debug logging mode is enabled are:
- List of files that are crawled.
- Processing is done on each file along with timestamp on when the processing starts, whether the indexing process is taking place or URL gets skipped, and whether the file gets indexed. All data will be available as separate entries in index.log.
- Timestamp of when the indexing completed, and the time is taken for indexing across the indexed file entry in the log file.
- Last modified date of the file.
- If the file is skipped or not, and why.

Extraction of Emails

  • You can extract emails as text and attachments in a specific folder (all emails and attachments will be exported to the specified location).
  • Location can be specified at <SEARCHBLOX_INSTALLATION_PATH>/webapps/searchblox/WEB-INF/pst.yml
  • Please restart SearchBlox after entering the storage location in pst.yml. Then clear and reindex the collection.
1556

Indexing and Other Operations

The following operations can be performed in email collections:

OperationDescription
IndexStarts the indexer for the selected collection. Starts indexing from the directory paths.
ClearClears the current index for the selected collection.
Scheduled ActivityFor each collection, any of the following scheduled indexer activity can be set:
- Index: Set the frequency and the start date/time for indexing a collection.
- Refresh: Set the frequency and the start date/time for refreshing a collection.
- Clear: Set the frequency and the start date/time for clearing a collection.
923
  • Indexer activity is controlled from the Index sub-tab in the collection. The current status of an indexer for a particular collection is indicated.
  • Indexing operation starts the indexer for the selected collection from the directory path. On reindexing (clicking on index again after the initial index operation), all crawled documents will be reindexed. If documents have been deleted from the directory since the first index operation, they will be deleted from the index. New documents will also be indexed.
  • Index operation can also be performed from the Collections dashboard.
  • Scheduling can be performed only from the Index sub-tab.

Schedule Frequency

Schedule Frequency supported in SearchBlox is as shown:

  • Once
  • Every Minute
  • Hourly
  • Daily
  • Every 48 Hours
  • Every 96 Hours
  • Weekly
  • Monthly
284

👍

Best Practices

  • If you need to use the extraction and download feature of email collection please make the required changes in pst.yml mentioned earlier, restart the instance and then index the collection.
  • Do not schedule the same time for two operations (Index, Clear). This will create conflict between activities.
  • If you have multiple collections, always schedule the activity to prevent more than 2-3 collections indexing or refreshing at the same time.

Logging

Log files starting with the name EmailCollection_ are generated in <SEARCHBLOX_INSTALLATION_PATH>/webapps/searchblox/logs folder, which lists the status of the action performed on each PST file.

1593