OpenWGA 7.9 - TMLScript reference

FieldIndexType
Property :

contentType

On object FieldIndexType
Usage Returns the content type as which the field content is interpreted
Description

This property contains predefined strings which identify content types for lucene indexing and determines what the Lucene index assumes to be the content of this field:

  • "plaintext": Simple text without formatting
  • "htmlxml": HTML or XML markup

The content type determines what part of the fields content is actually interpreted as real content text. For example on fields with content type "htmlxml" the Lucene index will ignore HTML tag names and attributes and only index the tags content.

Default value "plaintext"
Return value Content type (String)