close

Filter

loading table of contents...

Search Manual / Version 2512.0

Table Of Contents

5.4.3.2 Mapping Values to Element Types

The CAE Feeder supports String, Number, Date, XML and binary element types. The following table describes the default mapping from value classes to element types:

value class element type
com.coremedia.cap.common.Blob Binary
java.util.Date, java.util.Calendar, and java.time.Instant Date
com.coremedia.xml.Markup XML
java.lang.Number and primitive number types Number
java.lang.String String
java.lang.Collection with elements of above types depends on collection's element type

Table 5.1. Feedable Element Types for Value Classes


Values of other classes map to String elements with the value of their toString method. Collections must contain elements of one type, otherwise the value of the elements' toString method will be used.

Blob values are only used, if their MIME-type is configured for indexing in configuration property feeder.blob.enabled, and if its size does not exceed the maximum size configured in configuration property feeder.blob.max-size. See Section 3.11, “CAE Feeder Properties” in Deployment Manual for a description of these configuration properties. The default configuration in the Blueprint Maven module caefeeder-blueprint-component in file caefeeder-blueprint.properties sets a maximum size of 5MB and includes the following MIME-types:

  • text/*
  • application/pdf
  • application/msword
  • application/vnd.openxmlformats-officedocument.wordprocessingml.document

Collection elements can be used to feed multi-value fields in Apache Solr.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.