ATG Search represents properties in standard <meta>
unary tags, using the three attributes shown:
<meta name="atg:type
:prop
" content="value
"
scheme="displayName
=displayValue
" />
The name
attribute contains the name of the property prop
, plus an optional declaration in the form of atg:type
, where type
can be one of the following:
number
- integer property (this is an alias forinteger
)integer
- integer propertybool
– integer property (value of 0 or 1 only)date
– integer property representing a datefloat
- floating point propertystring
- string propertyenum
- enumerated propertytext
- string property, ignoring delimitersinfo
- a special case for properties that will only be used as result data and not as constraints, refinement facets, or sorting criteria. Typically contains data such as IDs or descriptions. Search stores the property value in the file storage file, recording a unique integer key to retrieve it by. This integer key is stored in the index, saving space in the memory-based index. The informational value can be any string. A<meta>
tag in the content in this format:<meta name="name" content="value" />
is stored as an informational property if its
name
is supplied in the following indexing option:<metatagInfoProp>name</metatagInfoProp>
If its
name
is in the following format, no indexing option is required:<meta name="atg:info:name" content="value" />
The
content
value is not separated into separate property values even if it uses any of the configured meta tag delimiters.unspecified
- the tag is not stored by default, and requires the indexing options to control if and how it is stored.docset
- virtual document set, that is,/Meta/name/value
index
- the tag is indexed for special look-up functionality (normally for ID-like unique properties)
The content
attribute contains the value of the property. By default, the whole attribute string is used as the value, but ATG Search can be configured to break up the string by delimiters, such as commas or semi-colons. The text
type ignores this configuration option, and guarantees that the whole string is used as the value.
The scheme
attribute contains an optional displayable version of the name and content strings, in the form displayName=displayValue
. This attribute is used when an application has internal names and values that are not presentable to the user. For example, a date property might have a content value of an integer, but the displayable value will be a well-formatted date string.
Multiple <meta>
tags can be used to denote multiple types or values for the same property name.