Metadata Examples

The following table contains the Metadata name-value pairs that should be understood by the addDocument method.

Name

Format

Description

Example

lastmodifieddate

RFC 822 and RFC 2822 formats ("RFC Date Format"), that is the common format in most Internet protocols (Mail, HTTP, ..)

ISO 8601 and RFC 3339 formats

Unix date and time (English format)

The date to be associated with the document.

1977/07/18-11:50:36 (GMT)1980/09/14

publicUrl

URL

The public URL of the resource.

http://server /getDoc.php?id=24

author

Displayed string

Author name

John Doe

mail:from

See RFC 822

The sender of the document.

John Doe <doe@doe.net>

mail:to

See RFC 822

mail:cc

See RFC 822

mail:bcc

See RFC 822

language

ISO 639

Primary or secondary level language tag

fr-FR

en

ar-AR

security

[~] PROVIDER:TOKEN

Known providers:

windows

notes

unix

Note: The prefix ~ can be used for specifying a negative security token

You must add the special security token declaring that the document is public:

com.exalead.papi.helper.SecurityMeta.PUBLIC_SECURITY_TOKEN

windows:S-1-5-21-3495842611 -1063732614-555398628-5176

or

~windows:S-1-5-21-3495842611 -1063732614-555398628-5176

notes:cn=Doe/cn=Exalead/cn=com or ~notes:cn=Doe/cn=Exalead/cn=com

file_name

String

Name of the file.

file_size

ulong

The size in bytes of the data associated to the document.

42

title

String

The title associated to the document.

To create categories in the Exalead CloudView, the Indexing System considers both the original metadata and the metadata extracted from the document content. The priority rules for metadata may be configured in the Indexing System administration interface. For example:

  • The Indexing System uses both the mimeHint and filename of the document master Part, and the content type detected by an analysis of the source to generate a Top/Attributes/Kind category.

  • The Indexing System uses both the language meta and the detected language from the document text to generate a Top/Attributes/Language category.