Module
NestedQuery
NestedQuery ( path )
Constructs a query that is capable of executing a search against objects nested within a document.
|
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 . |
Object | filter(oFilter) | Sets the nested filter to be executed. |
Object | path(path) | Sets the root context for the nested query. |
Object | query(oQuery) | Sets the nested query to be executed. |
Object | scope(s) | Sets the scope of the query. A scope allows to run facets on the same scope name that will work against the nested documents. |
Object | scoreMode(mode) | Sets how the inner (nested) matches affect scoring on the parent document. |
String | toJSON() | Retrieves the internal query object. This is typically used by
internal API functions so use with caution. |
Method Detail
boost
Object boost ( boost )
Sets the boost value for documents matching the Query .
|
filter
Object filter ( oFilter )
Sets the nested filter to be executed.
|
path
Object path ( path )
Sets the root context for the nested query.
|
query
Object query ( oQuery )
Sets the nested query to be executed.
|
scope
Object scope ( s )
Sets the scope of the query. A scope allows to run facets on the
same scope name that will work against the nested documents.
|
scoreMode
Object scoreMode ( mode )
Sets how the inner (nested) matches affect scoring on the parent document.
|
toJSON
String toJSON ( )
Retrieves the internal query object. This is typically used by
internal API functions so use with caution.
|