Module
SpanOrQuery
SpanOrQuery ( clauses )
Matches the union of its span clauses.
|
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 | clauses(clauses) | Sets the clauses used. If passed a single SpanQuery, it is added to the existing list of clauses. If passed an array of SpanQueries, they replace any existing clauses. |
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 .
|
clauses
Object clauses ( clauses )
Sets the clauses used. If passed a single SpanQuery, it is added
to the existing list of clauses. If passed an array of
SpanQueries, they replace any existing clauses.
|
toJSON
String toJSON ( )
Retrieves the internal query object. This is typically used by
internal API functions so use with caution.
|