Module
SpanFirstQuery
SpanFirstQuery ( spanQry, end )
Matches spans near the beginning of a field.
|
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 | end(position) | Sets the maximum end position permitted in a match. |
Object | match(spanQuery) | Sets the span query to match on. |
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 .
|
end
Object end ( position )
Sets the maximum end position permitted in a match.
|
match
Object match ( spanQuery )
Sets the span query to match on.
|
toJSON
String toJSON ( )
Retrieves the internal query object. This is typically used by
internal API functions so use with caution.
|