Module
TermQuery
TermQuery ( field, term )
A Query that matches documents containing a term. This may be
combined with other terms with a BooleanQuery.
|
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 fields 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 fields 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.
|