One custom field registered against a repo app's search index via Queries.addAppIndexedField. Holds the target field name and search mapping type, together with the name of the JavaScript function that computes the field's value for an item being indexed.


Properties

PropertyReturnsDescription
appIndexerNameStringThe id of the app indexer this field is added to.
fieldNameStringThe name of this field as it appears in the search index.
mappingContentFnStringThe name of the global JavaScript function that computes this field's value for an indexed item.
mappingTypeStringThe search index mapping type for this field, for example string, text, keyword, long, double, integer, geo, bool or date.
notAnalyzedbooleanWhether this field is indexed without text analysis, for example for exact-match keyword fields.

Methods

getAppIndexerName()

Returns: String

The id of the app indexer this field is added to.

getFieldName()

Returns: String

The name of this field as it appears in the search index.

getMappingContentFn()

Returns: String

The name of the global JavaScript function that computes this field's value for an indexed item.

getMappingType()

Returns: String

The search index mapping type for this field, for example string, text, keyword, long, double, integer, geo, bool or date.

isNotAnalyzed()

Returns: boolean

Whether this field is indexed without text analysis, for example for exact-match keyword fields.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.