How can I perform a search based on the original file name of an object?

You can define a wordindex definition for "originalFilename" and configure the Advanced Search view to display the original file name.

Description

The original file name of a file imported into the Content Store is stored as a property by TEXTML Server. The Index Definition file usually contains an index with the name originalFilename; however, it is typically defined as a stringindex, which searches for an entire string of characters as a whole. Instead, you need to define a wordindex to provide results containing any of the words provided in the search, instead of all the words. Once you define a wordindex definition for the property, you can configure the Advanced Search view make that index a selectable item in a search.

Solution

In the TEXTML Administration perspective, perform the following:

  1. Edit the Index Definition file.
    CAUTION: Be careful when editing the Index Definition document. Changes can significantly affect the indexing process, and any errors in the document can lead to data corruption or other errors.
  2. Add the following index: .
    <index CUSTOMPROPERTY="True" NAME="originalFilename-w">
    	<wordindex>
    		<elements>
    			<element DEPTH="0" XPATH="//userproperty[@type='originalFilename']"/>
    		</elements>
    	</wordindex>
    </index>
    Note: Since you likely already have a <stringindex> named originalFilename, place the new index below the existing index and name the new index originalFilename-w. It will be easier to maintain the two similar indexes if they are listed together.
  3. Edit the system/conf/advancedSearchIndexes.xml file and add the following:
    <index display="Original Filename" name="originalFilename-w" type="index" listable="false" views="ALL"/>
  4. When the indexing is complete, restart your IXIA CCMS Desktop.