CLOUDSEARCHDOMAIN

Search

enum_QueryParser := [ "simple", "structured", "lucene", "dismax" ]

valid {
    input.Qs.cursor == STRING
    input.Qs.expr == STRING
    input.Qs.facet == STRING
    input.Qs.fq == STRING
    input.Qs.highlight == STRING
    input.Qs.partial == BOOLEAN
    input.Qs.q == STRING
    input.Qs.q.options == STRING
    input.Qs.q.parser == enum_QueryParser[_]
    input.Qs.return == STRING
    input.Qs.size == LONG
    input.Qs.sort == STRING
    input.Qs.start == LONG
    input.Qs.stats == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

Suggest

valid {
    input.Qs.q == STRING
    input.Qs.suggester == STRING
    input.Qs.size == LONG
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UploadDocuments

enum_ContentType := [ "application/json", "application/xml" ]

valid {
    input.Body.documents == BLOB
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}