Because EQL is a filtering language, it does not contain functionality to perform actions such as triggering Content Spotlighting, sorting, or relevance ranking.
However, EQL is compatible with other query parameters to provide these features for queries. A brief summary of these interactions is:
Nrs
is freely composable with theN
,Ntt
,Nr
, andNf
filtering parameters. EQL filtering can be conceptualized as occurring after record filtering in terms of side-effects such as spelling auto-correction. This means that a record search within EQL, using theendeca:matches()
function, cannot auto-correct to a spelling suggestion outside of the record filter.Ordering and relevance ranking parameters (
Ns
,Nrk
,Nrt
,Nrr
,Nrm
) are composable with EQL filters or other types of filters. TheNrk
,Nrt
,Nrr
, andNrm
relevance ranking parameters take precedence over a relevance ranking declaration with theNtt
andNtx
parameters.
The following table provides an overview of these interactions. The sections after the table provide more information.
Parameter |
Similar function in EQL? |
Why use this parameter rather than Nrs? |
Parameter interaction |
---|---|---|---|
|
Yes. Dimension filtering can be done in EQL. |
Use
|
The results of
|
|
Yes. EQL can filter on properties or dimensions. |
Use
|
|
|
Yes. EQL provides the ability to do record search. |
Use
|
Similar to
|
|
Yes. EQL provides the ability to do range filtering. |
No reason to do so. EQL actually provides greater flexibility
because range filters within
|
Similar to
|
|
No. EQL does not have the ability to sort results. |
N/A |
As long as the property specified in
|
|
No. EQL does not have the ability to expose dimensions. |
N/A |
As long as the dimensions specified in
|
|
No. EQL does not provide the ability to relevance rank the results. |
N/A |
This set of parameters allow the ability to apply relevance ranking to results even if record search does not exist. |
|
No. EQL does not provide the ability to modify refinement configuration. |
N/A |
The
|