Index Server G8 User manual (Version 3.0.0)  
 

5 Customization

5.1 Custom XMP metadata attributes

The Spotlight indexing module supports custom XMP fields, which can be indexed and that are available for the Spotlight search. This is very powerful because customers can define their own XMP panels in Photoshop so that the additional metadata fields are Spotlight indexed. Custom metadata can be added to the Adobe Photoshop file info panel (which is accessed via File > File info ...) and indexed for metadata searches. Details about custom file info panels and their creation can be found in the Adobe “XMP-FileInfo-SDK-5.1”.

HELIOS provides a sample custom file info panel, so that the custom metadata feature can be tested. The HELIOS sample panel “HELIOSSample.zip” is available at:

webshare.helios.de
User Name: tools
Password: tools
Sharepoint: HELIOS Tools

hsymInstruction

Download “XMP Sample Dialog > HELIOSSample.zip”

hsymInstruction

Extract “HELIOSSample.zip” and copy the “HELIOSSample” folder to the appropriate target location described below.

The sample panel defines three custom metadata attributes:

<xmp_property name="Barcode" category="external"
label="$$$/Custom/Property/BarcodeLabel=Barcode No.:" type="text"/>

<xmp_property name="Vendor" category="external"
label="$$$/Custom/Property/VendorLabel=Vendor:" type="text"/>

<xmp_property name="GoodsGroup" category="external"
label="$$$/Custom/Property/GoodsGroupLabel=Goods Group:" type="text"/>

For installation, it must be copied to the adequate custom panels folder (depending on the Photoshop version, OS, etc.):

Photoshop CS4

Mac:

/Users/<user>/Library/Application Support/Adobe/XMP/Custom File Info
Panels/2.0/panels

or

/Library/Application Support/Adobe/XMP/Custom File Info Panels/2.0/panels


Windows XP:

C:\Program Files\Common Files\Adobe\XMP\Custom File Info Panels\
2.0\panels\<PANEL\_ROOT>


Windows 7/Vista:

C:\Program Files\Common Files\Adobe\XMP\Custom File Info Panels\
2.0\panels\<PANEL\_ROOT>


Photoshop CS5

Mac:

/Users/<user>/Library/Application Support/Adobe/XMP/Custom File Info
Panels/3.0/panels

or

/Library/Application Support/Adobe/XMP/Custom File Info Panels/3.0/panels


Windows XP:

C:\Program Files\Common Files\Adobe\XMP\Custom File Info Panels\3.0\
panels\<PANEL\_ROOT>


Windows 7/Vista:

C:\Program Files\Common Files\Adobe\XMP\Custom File Info Panels\3.0\
panels\<PANEL\_ROOT>


Trust file

For panels, a trust file needs to be created in:

Mac:

/Users/<username>/Library/Preferences/Macromedia/Flash Player/#Security/
FlashPlayerTrust/


Windows XP:

C:\Documents and Settings\<username>\Application Data\Macromedia\Flash
Player\#Security\FlashPlayerTrust


Windows 7/Vista:

C:\Users\<username>\AppData\Roaming\Macromedia\Flash Player\#Security\
FlashPlayerTrust

An example for a trust file is “CustomPanelsCS4.cfg”, which may have the following content:

/Users/john/Library/Application Support/Adobe/XMP/Custom File Info
Panels/2.0/panels/


Preference

The XMPAttributes preference (see 7.1.2 “Plug-in dependent preference keys”) must be set to specify custom entries:

prefvalue -k "Programs/indexsrv/Plugins/oiindexer/XMPAttributes/
             http:\/\/de.helios.samplenamespace\/" -t strlist
             "Barcode,Vendor,GoodsGroup"
Usage

Custom file information attributes can be searched, e.g.:
$ dt ftsearch -s "Vendor==HELIOS"

5.2 Create a word list database

This database contains a list of words that you do not want be stored in the full-text database (e.g. “the”, “than”, “also”). The advantage is that the “.DesktopIndex” database can be smaller. The disadvantage is that searches for exact phrases containing these words will not succeed. The FilterDB preference allows specifying the path to the word list database. The database itself is created as follows:

hsymInstruction

On a command line enter the path to the word list database:

sqlite3 <path to word list database>
Example:
# sqlite3 /data1/demovol/stopword.db
hsymInstruction

Create “sWords” table:

CREATE TABLE sWords (word STRING PRIMARY KEY);
hsymInstruction

Entries are done:

INSERT INTO sWords VALUES (<word1>,<word2>,<word3>);
Important:

<word> must be specified in lower case.

hsymInstruction

Finalize your entries:

.quit
Example
 (Define a stop word list for all files that have the suffix “c”):
# prefvalue -k "Programs/indexsrv/Plugins/txtindexer//c//FilterDB"
  -t str '/data1/demovol/stopword.db'

HELIOS Website © 2020 HELIOS Software GmbH  
HELIOS Manuals September 10, 2020