Class SolrQueryHTTPClient

  • All Implemented Interfaces:
    SolrQueryClient, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean

    public class SolrQueryHTTPClient
    extends AbstractSolrQueryHTTPClient
    implements SolrQueryClient
    Author:
    Andy
    • Constructor Detail

      • SolrQueryHTTPClient

        public SolrQueryHTTPClient()
    • Method Detail

      • init

        public void init()
      • setAlternativeDictionary

        public void setAlternativeDictionary​(String alternativeDictionary)
      • setRepositoryState

        public void setRepositoryState​(RepositoryState repositoryState)
        Parameters:
        repositoryState - the repositoryState to set
      • setNodeService

        public void setNodeService​(NodeService nodeService)
      • setNodeDAO

        public void setNodeDAO​(NodeDAO nodeDAO)
        Parameters:
        nodeDAO - the nodeDao to set
      • setPermissionService

        public void setPermissionService​(PermissionService permissionService)
      • setTenantService

        public void setTenantService​(TenantService tenantService)
      • setDictionaryService

        public void setDictionaryService​(DictionaryService dictionaryService)
      • setNamespaceDAO

        public void setNamespaceDAO​(NamespaceDAO namespaceDAO)
      • setShardRegistry

        public void setShardRegistry​(ShardRegistry shardRegistry)
      • setUseDynamicShardRegistration

        public void setUseDynamicShardRegistration​(boolean useDynamicShardRegistration)
      • setLanguageMappings

        public void setLanguageMappings​(Map<String,​String> languageMappings)
      • setStoreMappings

        public void setStoreMappings​(List storeMappings)
      • setIncludeGroupsForRoleAdmin

        public void setIncludeGroupsForRoleAdmin​(boolean includeGroupsForRoleAdmin)
        Parameters:
        includeGroupsForRoleAdmin - the includeGroupsForRoleAdmin to set
      • setMaximumResultsFromUnlimitedQuery

        public void setMaximumResultsFromUnlimitedQuery​(int maximumResultsFromUnlimitedQuery)
        Parameters:
        maximumResultsFromUnlimitedQuery - the maximum number of results to request from an otherwise unlimited query
      • setAnyDenyDenies

        public void setAnyDenyDenies​(boolean anyDenyDenies)
        When set, a single DENIED ACL entry for any authority will result in access being denied as a whole. See system property security.anyDenyDenies
        Parameters:
        anyDenyDenies - boolean
      • setDefaultUnshardedFacetLimit

        public void setDefaultUnshardedFacetLimit​(int defaultUnshardedFacetLimit)
        Parameters:
        defaultUnshardedFacetLimit - the defaultUnshardedFacetLimit to set
      • setDefaultShardedFacetLimit

        public void setDefaultShardedFacetLimit​(int defaultShardedFacetLimit)
        Parameters:
        defaultShardedFacetLimit - the defaultShardedFacetLimit to set
      • buildStatsBody

        protected org.json.JSONObject buildStatsBody​(StatsParameters searchParameters,
                                                     String tenant,
                                                     Locale locale)
                                              throws org.json.JSONException
        Throws:
        org.json.JSONException
      • setBeanFactory

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
                            throws org.springframework.beans.BeansException
        Specified by:
        setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
        Throws:
        org.springframework.beans.BeansException
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • execute

        public org.json.JSONObject execute​(StoreRef storeRef,
                                           String handler,
                                           HashMap<String,​String> params)
        Parameters:
        storeRef -
        handler -
        params -
        Returns:
      • isUseDynamicShardRegistration

        public boolean isUseDynamicShardRegistration()
      • getDefaultUnshardedFacetLimit

        public int getDefaultUnshardedFacetLimit()
      • getDefaultShardedFacetLimit

        public int getDefaultShardedFacetLimit()
      • isAnyDenyDenies

        public boolean isAnyDenyDenies()
      • getAlternativeDictionary

        public String getAlternativeDictionary()
      • isIncludeGroupsForRoleAdmin

        public boolean isIncludeGroupsForRoleAdmin()
      • getMaximumResultsFromUnlimitedQuery

        public int getMaximumResultsFromUnlimitedQuery()