BoostItem

  • field
    Type: string · Field
    required

    The boosting field of the rule.

  • option
    Type: string · Optionenum
    required

    The boosting option of the field.

    values
    • contains
    • not_contain
    • is
    • is_not
    • regex
    • ends_with
    • starts_with
  • query
    Type: string · Query
    required

    The boosting query of the field.

  • action
    Type: string · Actionenum

    The boosting action of the field.

    values
    • pin
    • bury
    • remove
  • pin_position
    Type: integer · Pin Position
    greater than:  
    0
    min:  
    1

    This field is a 1-based integer to describe the position. This field is only used when action is "pin".

Examples
{
  "field": "title",
  "option": "contains",
  "query": "iphone"
}