OpenWGA 7.11 - TMLScript reference


Object:

FieldIndexType

Description This object represents a specific field configuration for the Lucene fulltext index, like it is specified on the Lucene configuration for individual OpenWGA applications. It determines how items of some name are indexed and can be used in fulltext queries.
Retrieval Lucene.getFieldIndexType()
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
contentType Returns the content type as which the field content is interpreted
defaultRule Returns if the field index type is from the default rule
indexType Returns the actual lucene index type
pattern Returns the field name matching pattern of the rule
sortable Determines if the results of a lucene query can be sorted by fields of this rule
wildcardPattern Returns if the pattern of the rule contains a wildcard