Common types
This page documents the common property types you may find across all Lingo4G stages and components.
threads
Specifies the number of processing threads in the context of various components and stages. Value must be one of the following:
"auto"

Lingo4G picks the number of processing threads automatically, depending on system configuration and thread availability. This is the recommended setting.
In most computationintensive stages and components, setting
threads
toauto
causes Lingo4G to adaptively probe different thread number values and settle on the lowest possible number of threads that leads to the lowest computation latency (fastest processing of that specific task). This procedure usually arrives at the number of threads that saturates other components of the system (I/O, memory) and is usually lower than the maximum number of threads available to Lingo4G. During processing, Lingo4G periodically reevaluates the number of threads to account for the changing overall system load.  minmax

Lingo4G uses any number of threads between min and max (inclusive). The minimum must be larger than zero. This option gives Lingo4G some flexibility in picking the right number of threads dynamically, although
auto
is still the recommended mode.For example,
24
causes Lingo4G to use 2, 3 or 4 processing threads.  number

Lingo4G uses a fixed number of threads. The number must be larger than zero.
For example,
8
causes Lingo4G to use exactly 8 threads.
limit
Defines the limit on the number of results, such as labels or documents, produced by a stage. If you set limit to
"unlimited"
, Lingo4G returns all available items.
sortâ€‹Order
Determines the sorting order for a list of documents or labels. The exact context of what is compared depends on the stage or component that makes use of this property.
Aâ€‹Sâ€‹Câ€‹Eâ€‹Nâ€‹Dâ€‹Iâ€‹Nâ€‹G

Specifies an ascending order (increasing).
Dâ€‹Eâ€‹Sâ€‹Câ€‹Eâ€‹Nâ€‹Dâ€‹Iâ€‹Nâ€‹G

Specifies a descending order (decreasing).
Uâ€‹Nâ€‹Sâ€‹Pâ€‹Eâ€‹Câ€‹Iâ€‹Fâ€‹Iâ€‹Eâ€‹D

Does not specify any sort order. The order can be arbitrary or even random. Use this setting when you know that the order of elements does not influence the results, and sorting would just add additional overhead.
weightâ€‹Aggregation
Determines how to aggregate a set of document or label weights into one weight.
Mâ€‹Iâ€‹N

A minimum of all values.
Mâ€‹Aâ€‹X

A maximum of all values.
Câ€‹Oâ€‹Uâ€‹Nâ€‹T

A count of values.
Sâ€‹Uâ€‹M

A sum of all values.
Pâ€‹Râ€‹Oâ€‹Dâ€‹Uâ€‹Câ€‹T

A product of all values (multiplication of all values).
Mâ€‹Eâ€‹Aâ€‹N

An arithmetic mean of all values.
Gâ€‹Eâ€‹Oâ€‹Mâ€‹Eâ€‹Tâ€‹Râ€‹Iâ€‹C_â€‹Mâ€‹Eâ€‹Aâ€‹N

A geometric mean of all values.