The
stratify
relevance ranking module is used to boost or bury
records in the result set.
The
stratify
relevance ranking module ranks records by
stratifying them into groups defined by EQL expressions. The module can be
used:
The
stratify
module takes an ordered list of one or more
EQL expressions that are used for boosting/burying records. The following
example shows one EQL expression for the module:
N=0&Ntx=mode+matchall+rel+stratify(collection()/record[Score>95],*)&Ntk=WineType&Ntt=merlot
This record search example queries for the term
merlot
in WineType values. Any record that has a
Score value of greater than 95 will be boosted in relation to other records.
Note
When used for sort operations, you must prepend the
Endeca
prefix to the
stratify
module name for use in the sort
specification (i.e., use
Endeca.stratify
as the name).