Class DiscoveryConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean

    public class DiscoveryConfiguration
    extends Object
    implements org.springframework.beans.factory.InitializingBean
    Author:
    Kevin Van de Velde (kevin at atmire dot com)
    • Constructor Detail

      • DiscoveryConfiguration

        public DiscoveryConfiguration()
    • Method Detail

      • isIndexAlways

        public boolean isIndexAlways()
        The `indexAlways` property determines whether the configuration should always be included when indexing items. The default value is false which implies the configuration is only used when it matches the collection or if it's the default configuration When set to true, the configuration is also used to index an item without a specific collection mapping This can be used for displaying different facets depending on the type of item instead of the collection
      • setIndexAlways

        public void setIndexAlways​(boolean indexAlways)
      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • setTagCloudFacetConfiguration

        public void setTagCloudFacetConfiguration​(TagCloudFacetConfiguration tagCloudFacetConfiguration)
      • getDefaultFilterQueries

        public List<String> getDefaultFilterQueries()
      • setDefaultFilterQueries

        public void setDefaultFilterQueries​(List<String> defaultFilterQueries)
      • setDefaultRpp

        public void setDefaultRpp​(int defaultRpp)
      • getDefaultRpp

        public int getDefaultRpp()
      • isSpellCheckEnabled

        public boolean isSpellCheckEnabled()
      • setSpellCheckEnabled

        public void setSpellCheckEnabled​(boolean spellCheckEnabled)
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        After all the properties are set check that the sidebar facets are a subset of our search filters
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception - throws an exception if this isn't the case