XML Configuration Reference : Datamodel : NumericalProperty
 
NumericalProperty
com.exalead.datamodel.v10.NumericalProperty
Numerical properties offer the feature of optionally enabling range (superior, inferior, ...) on values
Parent elements:
com.exalead.datamodel.v10.DataModelClass (as DataModelClass)
com.exalead.datamodel.v10.DynamicProperty (as DynamicProperty)
Attributes:
Name
Type
Default value
Description
overrideClassExpansionParams
boolean
dedicatedField
boolean
True
Should we create a dedicated index field for this property, or use a multi-field encoding? A dedicated field is recommended if more than a few percent of objects have this property. Internal: if there is no dedicated field, we store in the "metas" field and index using prefixed-words.
dynamicProperty
string
Storing this meta in a dynamical property decreases index's memory footprint and improve index's commit time. Faceting and sorting performances will be impacted (slower).
searchable
boolean
True
Allows users to search for matches in this property using a prefix. For example, to search for "API" in the title of a document, enter the search query <pre>title:API</pre>
retrievable
boolean
True
Displays the meta in the hit content of search results. If the property doesn't have a dedicated field, the value will be CSV-encoded in the 'metas' field.
ramBased
boolean
Stores this property in RAM. Use this option if you need to:
sort search results on this property.
use this property in a virtual field.
use this property in a virtual facet.
use this property for an aggregation value.
Only the "retrievable" part of the property is stored in RAM.
facet
boolean
Creates a navigation facet from the property values.
disjunctiveRefines
boolean
Makes refinements on this facet disjunctive ("checkboxes") rather than exclusive (select one).
defaultValue
string
If there is no value for this property in the document, use this default value.
additionalMetaNames
string
Maps these metas (as a comma-separated list) to this index or facet field. Usable only for properties having a dedicated field, a facet, or are searchable without prefix.
arity
enum(zero_or_one, one, many)
zero_or_one
The arity of the property (zero_or_one, one, many) {@code enum(zero_or_one, one, many)}
name
string
Property name
comment
string
Optional comment to explain property use.
type
enum(integer, double, date, date_time, point_geo, point_xy, unsigned, measure)
Type of this numerical property. Depending on the type, additional validation and formating will be performed on the value. Valid values are:
integer: The value must be an integer (this is the default).
double: The value must be a double. It is possible to configure the precision in advanced parameters.
date: A date, with a day precision.
date_time: A date, with time (second precision).
point_geo: A point on a sphere, in GPS coordinates. The value must have a "latitude,longitude" format, with latitude being a double between -90 and +90, and longitude being a double between -180 and 180.
point_xy: A point on a XY plan. The value must have a "X,Y" format, with X and Y being positive integers.
unsigned: The value must be a positive integer.
measure: The value must be a double and could be associated to a unit of measurement symbol.
Nested elements:
Name
Type
Description
tags
exa.bee.KeyValue*
User-defined tags for this property. This can be used for example to implement 6W faceting of the data model.
AdvancedParams
com.exalead.datamodel.v10.AdvancedParams
KeyValue
exa.bee.KeyValue*
Label
com.exalead.datamodel.v10.Label*
Labels for the internationalization of this property's name