Double to Long
Stores floating point values into signed fields that can then be queried with the DoublePrefixHandler.
Double to LongStores floating point values into signed fields that can then be queried with the DoublePrefixHandler. Fixed Range Numerical PartitioningMatches numerical values in a range. It transforms a numerical value into a matching range, based on a fixed range size. For example, with rangeSize = 100,
For negative numbers:
This helps to create categories (for navigation) from numerical values. Forced Range Numerical PartitioningTransforms a numerical value into the text value associated to its matching range from a set of predetermined ranges specified in 'NumericalRange'. Math Document ProcessorPerforms mathematical operations on a numerical field. You must preface expressions with a $. For example, the expression `$ht_price * 1.196` finds the first chunk in the `ht_price` context, and replaces all occurrences of `ht_price` with the mathematical expression. The result is a new text chunk, either in the Output context (if specified), or in the original `ht_price` context. Text to NumProcessor to hack an approximate sort on a text field. Implements a surjection from the set of strings to the set of integers [0..N] with N close but inferior or equal to 18,446,744,073,709,551,615. You define an ordered alphabet. A first surjection from the set of all strings to the set of finite sequences of symbols taken from this alphabet is applied (strip the string from symbols out of the alphabet). A partial order relation is inferred on the latter set by the alphabet (lexicographical order). For obvious cardinal numbers reasons (one set is infinite the other is not), the second surjection cannot be partial-order preserving. The idea is to preserve the relation on the shorter strings, and preserve the relation between shorter strings and longer strings, such as:
The size of the prefix obviously depends on the size of the alphabet. |