Class SearchResultProperties

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class SearchResultProperties
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Schema for the result of a query search operation.
    • Constructor Detail

      • SearchResultProperties

        public SearchResultProperties()
    • Method Detail

      • getTotalRows

        public Long getTotalRows()
        Gets the totalRows. Number of total rows.
        Returns:
        the totalRows
      • getBookmark

        public String getBookmark()
        Gets the bookmark. Opaque bookmark token used when paginating results.
        Returns:
        the bookmark
      • getBy

        public String getBy()
        Gets the by. Grouped search matches.
        Returns:
        the by
      • getCounts

        public Map<String,​Map<String,​Long>> getCounts()
        Gets the counts. The counts facet syntax returns the number of query results for each unique value of each named field.
        Returns:
        the counts
      • getRanges

        public Map<String,​Map<String,​Long>> getRanges()
        Gets the ranges. The range facet syntax reuses the standard Lucene syntax for ranges to return counts of results that fit into each specified category.
        Returns:
        the ranges
      • getRows

        public List<SearchResultRow> getRows()
        Gets the rows. Array of row objects.
        Returns:
        the rows