@ibm-cloud/cloudant - v0.12.8
    Preparing search index...

    Class SearchResult

    Schema for the result of a query search operation.

    Index

    Constructors

    Properties

    bookmark?: string

    Opaque bookmark token used when paginating results.

    by?: string

    Grouped search matches.

    counts?: { [key: string]: JsonObject }

    The counts facet syntax returns the number of query results for each unique value of each named field.

    Array of grouped search matches.

    ranges?: { [key: string]: JsonObject }

    The range facet syntax reuses the standard Lucene syntax for ranges to return counts of results that fit into each specified category.

    Array of row objects.

    totalRows: number

    Total number of rows in the index matching the search query. The limit may truncate the number of matches returned.

    Methods