Class TextSearchOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withIncludeTotalCount

        public TextSearchOptions.Builder withIncludeTotalCount​(boolean includeTotalCount)
        Sets a value indicating whether to include the total count of search results.
        Parameters:
        includeTotalCount - A value indicating whether to include the total count of search results.
        Returns:
        The builder.
      • withTop

        public TextSearchOptions.Builder withTop​(int top)
        Sets the limit of the number of results to return.
        Parameters:
        top - The limit of the number of results to return.
        Returns:
        The builder.
      • withSkip

        public TextSearchOptions.Builder withSkip​(int skip)
        Sets the offset of the results to return.
        Parameters:
        skip - The offset of the results to return.
        Returns:
        The builder.