OpenWGA 7.0 - TMLScript reference

FieldIndexType
Property :

indexType

On object FieldIndexType
Usage Returns the actual lucene index type
Description

This is string of a predefined range of values:

  • "fulltext" - Normal fulltext indexing
  • "keyword" - Keyword indexing
The index type determines how the contents of the fields is actually indexed and therefor can be queried. Type "fulltext" tries to find individual words in the content and indexes them separately. Type "keyword" assumes the content of the field to be one complete value which is indexed 1:1.
Default value "fulltext"
Return value Index type (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events