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

        excerptStrategyName - name of one of the built in excerpt strategies
      • includeArchivedSpaces

        public SearchOptions.Builder includeArchivedSpaces​(boolean includeArchivedSpaces)