def METHOD_NAME(
    order: "Order",
) -> List[NoValidationSearchVector]:
    discount_vectors = []
    for discount in order.discounts.all()[
        : settings.SEARCH_ORDERS_MAX_INDEXED_DISCOUNTS
    ]:
        if discount.name:
            discount_vectors.append(
                NoValidationSearchVector(
                    Value(discount.name),
                    config="simple",
                    weight="D",
                )
            )
        if discount.translated_name:
            discount_vectors.append(
                NoValidationSearchVector(
                    Value(discount.translated_name),
                    config="simple",
                    weight="D",
                )
            )
    return discount_vectors