IndexQuery
Class representing a IndexQuery
Constructor Summary
Public Constructor | ||
public |
Creates a IndexQuery Object. |
Member Summary
Public Members | ||
public |
field_boosts: * |
|
public |
|
Method Summary
Public Methods | ||
public |
Sets the body of a query. |
|
public |
fieldBoosts(boosts: FieldBoost[]) Sets a list of FieldBoost for the IndexQuery. |
|
public |
instanceBoosts(boosts: InstanceBoost[]) Sets a list of InstanceBoost for the IndexQuery. |
Public Constructors
Public Methods
public body(bodies: Body[]) source
Sets the body of a query. Body is a list of weighted free-text.
Params:
Name | Type | Attribute | Description |
bodies | Body[] | A list of body objects |
public fieldBoosts(boosts: FieldBoost[]) source
Sets a list of FieldBoost for the IndexQuery.
Params:
Name | Type | Attribute | Description |
boosts | FieldBoost[] | The FieldBoosts to be applied to the IndexQuery. |
public instanceBoosts(boosts: InstanceBoost[]) source
Sets a list of InstanceBoost for the IndexQuery.
Params:
Name | Type | Attribute | Description |
boosts | InstanceBoost[] | The InstanceBoosts to be applied to the IndexQuery. |