For record searches, the format for using the
Ntx
URL parameter with the
rel
option to specify the
stratify
relevance ranking module is:
Ntx=rel+stratify(EQLexpressions)
where EQLexpressions is one or more of the EQL expressions documented in the "Using the Oracle Commerce Query Language" chapter in the MDEX Engine Developer's Guide.
This example uses an EQL property value query with the
and
operator:
N=0&Ntx=mode+matchall+rel+stratify(collection()/record[P_Region="Tuscany" and P_Score>98],*) &Ntk=P_WineType&Ntt=red
The results will boost red wine records that are from Tuscany and have a rating score of 98 or greater. These records are placed in the highest stratum and all other records are placed in the unmatched stratum.