Class SearchOptions.Builder

    • Method Detail

      • excerptStrategy

        public SearchOptions.Builder excerptStrategy​(String excerptStrategyName)
        Sets the excerpt strategy to the excerpt strategy with the given name. If there is no built in strategy with this name, the excerpt strategy is set to NONE.

        This method is primarily used to deserialize an excerpt strategy from it's name

        Parameters:
        excerptStrategyName - name of one of the built in excerpt strategies
        Returns:
        this
      • includeArchivedSpaces

        public SearchOptions.Builder includeArchivedSpaces​(boolean includeArchivedSpaces)