Module
PrefixFilter
PrefixFilter ( fieldName, prefix )
Filters documents that have fields containing terms with a specified prefix.
|
Method Summary
Returns | Name | Description |
---|---|---|
String | _type() | The type of ejs object. For internal use only. |
Object | cache(trueFalse) | Enable or disable caching of the filter |
Object | cacheKey(key) | Sets the cache key. |
Object | field(field) | Returns the field name used to create this object. |
Object | name(name) | Sets the filter name. |
Object | prefix(value) | Sets the prefix to search for. |
Object | toJSON() | Returns the filter object. |
Method Detail
cache
Object cache ( trueFalse )
Enable or disable caching of the filter
|
cacheKey
Object cacheKey ( key )
Sets the cache key.
|
field
Object field ( field )
Returns the field name used to create this object.
|
name
Object name ( name )
Sets the filter name.
|
prefix
Object prefix ( value )
Sets the prefix to search for.
|