Module
Method Summary
Returns | Name | Description |
---|---|---|
String | _type() | The type of ejs object. For internal use only. |
Object | filter(oFilter) | Adds a filter whose matching documents will have the score function applied. |
Object | lang(language) | The script language being used. |
Object | params(p) | Sets parameters that will be applied to the script. Overwrites any existing params. |
Object | script(scriptCode) | Set the script that will modify the score. |
Object | scriptId(scriptId) | Set the script id that will modify the score. |
String | toJSON() | Retrieves the internal |
Method Detail
filter
Object filter ( oFilter )
Adds a filter whose matching documents will have the score function applied.
|
lang
Object lang ( language )
The script language being used.
|
params
Object params ( p )
Sets parameters that will be applied to the script. Overwrites
any existing params.
|
script
Object script ( scriptCode )
Set the script that will modify the score.
|
scriptId
Object scriptId ( scriptId )
Set the script id that will modify the score.
|
toJSON
String toJSON ( )
Retrieves the internal
|