Class TextSearchOptions


  • public class TextSearchOptions
    extends Object
    Represents the options for a text search.
    • Field Detail

      • DEFAULT_TOP

        public static final int DEFAULT_TOP
        The default number of search results to return.
        See Also:
        Constant Field Values
    • Method Detail

      • createDefault

        public static TextSearchOptions createDefault()
        Creates a new instance of the TextSearchOptions class with default values.
        Returns:
        A new instance of the TextSearchOptions class with default values.
      • isIncludeTotalCount

        public boolean isIncludeTotalCount()
        Gets a value indicating whether to include the total count of search results.
        Returns:
        A value indicating whether to include the total count of search results.
      • getTop

        public int getTop()
        Gets the limit of the number of results to return.
        Returns:
        The limit of the number of results to return.
      • getSkip

        public int getSkip()
        Gets the offset of the results to return.
        Returns:
        The offset of the results to return.
      • getFilter

        public TextSearchFilter getFilter()
        Gets the search filter.
        Returns:
        The search filter.