Module
SpanTermQuery
SpanTermQuery ( field, value )
Matches spans containing a term
|
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 | field(f) | Sets the field to query against. |
Object | term(t) | Sets the term. |
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 .
|
field
Object field ( f )
Sets the field to query against.
|
term
Object term ( t )
Sets the term.
|
toJSON
String toJSON ( )
Retrieves the internal query object. This is typically used by
internal API functions so use with caution.
|