Module
FieldMaskingSpanQuery
FieldMaskingSpanQuery ( spanQry, field )
Wraps a SpanQuery and hides the real field being searched across.
|
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 value of the "masked" field. |
Object | query(spanQuery) | Sets the span query to wrap. |
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 value of the "masked" field.
|
query
Object query ( spanQuery )
Sets the span query to wrap.
|
toJSON
String toJSON ( )
Retrieves the internal query object. This is typically used by
internal API functions so use with caution.
|