OpenWGA 7.0 - TMLScript reference


Object:

FileIndexType

Description

This object represents a specific file configuration for the Lucene fulltext index, like it is specified on the Lucene configuration for individual OpenWGA applications. It determines how files of some name are indexed and can be used in fulltext queries.

In order to be indexable files from content attachments need to have a content type for which a lucene file handler exists.

Retrieval Lucene.getFileIndexType()
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
Properties and methods
Name Purpose
boost Returns the index boost
defaultRule Returns if the file index type is from the default rule
fileSizeLimit Returns the maximum file size for indexed files
includedInAllContent Returns if file content will be found in field-unspecific searches
pattern Returns the file name matching pattern of the rule
wildcardPattern Returns if the pattern of the rule contains a wildcard