Module
IdsQuery
IdsQuery ( ids )
Matches documents with the specified id(s).
|
Method Summary
Returns | Name | Description |
---|---|---|
String | _type() | The type of ejs object. For internal use only. |
Object | boost(boost) | Sets the boost value for documents matching the Query . |
String | toJSON() | Retrieves the internal query object. This is typically used by
internal API functions so use with caution. |
Object | type(type) | Sets the type as a single type or an array of types. If type is a string, it is added to the list of existing types. If type is an array, it is set as the types and overwrites an existing types. This parameter is optional. |
Object | values(val) | Sets the values array or adds a new value. if val is a string, it is added to the list of existing document ids. If val is an array it is set as the document values and replaces any existing values. |
Method Detail
boost
Object boost ( boost )
Sets the boost value for documents matching the Query .
|
toJSON
String toJSON ( )
Retrieves the internal query object. This is typically used by
internal API functions so use with caution.
|
type
Object type ( type )
Sets the type as a single type or an array of types. If type is a
string, it is added to the list of existing types. If type is an
array, it is set as the types and overwrites an existing types. This
parameter is optional.
|
values
Object values ( val )
Sets the values array or adds a new value. if val is a string, it
is added to the list of existing document ids. If val is an
array it is set as the document values and replaces any existing values.
|