Uses of Class
org.dspace.discovery.configuration.DiscoveryConfiguration
-
-
Uses of DiscoveryConfiguration in org.dspace.discovery
Methods in org.dspace.discovery that return DiscoveryConfiguration Modifier and Type Method Description static DiscoveryConfigurationSearchUtils. getDiscoveryConfiguration()Retrieves the Discovery Configuration for a null context, prefix and DSpace object.static DiscoveryConfigurationSearchUtils. getDiscoveryConfiguration(Context context, String prefix, DSpaceObject dso)Return the discovery configuration to use in a specific scope for the king of search identified by the prefix.static DiscoveryConfigurationSearchUtils. getDiscoveryConfiguration(Context context, DSpaceObject dso)Retrieves the Discovery Configuration with a null prefix for a DSpace object.static DiscoveryConfigurationSearchUtils. getDiscoveryConfigurationByDSO(Context context, DSpaceObject dso)Return the discovery configuration for the provided DSOstatic DiscoveryConfigurationSearchUtils. getDiscoveryConfigurationByName(String configurationName)Return the discovery configuration identified by the specified nameMethods in org.dspace.discovery that return types with arguments of type DiscoveryConfiguration Modifier and Type Method Description static Set<DiscoveryConfiguration>SearchUtils. addDiscoveryConfigurationForParents(Context context, Set<DiscoveryConfiguration> configurations, String prefix, DSpaceObject dso)Retrieve the configuration for the current dspace object and all its parents and add it to the provided setstatic List<DiscoveryConfiguration>SearchUtils. getAllDiscoveryConfigurations(Context context, Item item)Method that retrieves a list of all the configuration objects from the given item A configuration object can be returned for each parent community/collectionstatic List<DiscoveryConfiguration>SearchUtils. getAllDiscoveryConfigurations(Context context, WorkspaceItem witem)Return all the discovery configuration applicable to the provided workspace itemstatic List<DiscoveryConfiguration>SearchUtils. getAllDiscoveryConfigurations(Context context, WorkflowItem witem)Return all the discovery configuration applicable to the provided workflow itemMethods in org.dspace.discovery with parameters of type DiscoveryConfiguration Modifier and Type Method Description DiscoverFilterQuerySearchService. toFilterQuery(Context context, String field, String operator, String value, DiscoveryConfiguration config)Transforms the given string field and value into a filter queryDiscoverFilterQuerySolrServiceImpl. toFilterQuery(Context context, String field, String operator, String value, DiscoveryConfiguration config)Method parameters in org.dspace.discovery with type arguments of type DiscoveryConfiguration Modifier and Type Method Description static Set<DiscoveryConfiguration>SearchUtils. addDiscoveryConfigurationForParents(Context context, Set<DiscoveryConfiguration> configurations, String prefix, DSpaceObject dso)Retrieve the configuration for the current dspace object and all its parents and add it to the provided set -
Uses of DiscoveryConfiguration in org.dspace.discovery.configuration
Subclasses of DiscoveryConfiguration in org.dspace.discovery.configuration Modifier and Type Class Description classDiscoveryRelatedItemConfigurationThis class extendsDiscoveryConfigurationand add method for set parameters to filter query listMethods in org.dspace.discovery.configuration that return DiscoveryConfiguration Modifier and Type Method Description DiscoveryConfigurationDiscoveryConfigurationService. getDiscoveryConfiguration(String name)Retrieve the Discovery Configuration for the provided name.DiscoveryConfigurationDiscoveryConfigurationService. getDiscoveryConfiguration(String name, boolean useDefault)Retrieve the configuration for the provided name.DiscoveryConfigurationDiscoveryConfigurationService. getDiscoveryConfiguration(Context context, IndexableObject indexableObject)Retrieve the discovery configuration for the provided IndexableObject.DiscoveryConfigurationDiscoveryConfigurationService. getDiscoveryConfigurationByNameOrIndexableObject(Context context, String configurationName, IndexableObject indexableObject)Retrieve the Discovery configuration for the provided name or IndexableObject.DiscoveryConfigurationDiscoveryConfigurationService. getDiscoveryDSOConfiguration(Context context, DSpaceObject dso)Retrieve the discovery configuration for the provided DSO.Methods in org.dspace.discovery.configuration that return types with arguments of type DiscoveryConfiguration Modifier and Type Method Description List<DiscoveryConfiguration>DiscoveryConfigurationService. getDiscoveryConfigurationWithPrefixName(String prefixConfigurationName)Retrieves a list of all DiscoveryConfiguration objects where key starts with prefixConfigurationNameList<DiscoveryConfiguration>DiscoveryConfigurationService. getIndexAlwaysConfigurations()Retrieves a list of all DiscoveryConfiguration objects whereisIndexAlways()is true These configurations should always be included when indexingMap<String,DiscoveryConfiguration>DiscoveryConfigurationService. getMap()Method parameters in org.dspace.discovery.configuration with type arguments of type DiscoveryConfiguration Modifier and Type Method Description voidDiscoveryConfigurationService. setMap(Map<String,DiscoveryConfiguration> map) -
Uses of DiscoveryConfiguration in org.dspace.discovery.indexobject
Method parameters in org.dspace.discovery.indexobject with type arguments of type DiscoveryConfiguration Modifier and Type Method Description voidItemIndexFactoryImpl. addDiscoveryFields(org.apache.solr.common.SolrInputDocument doc, Context context, Item item, List<DiscoveryConfiguration> discoveryConfigurations) -
Uses of DiscoveryConfiguration in org.dspace.discovery.indexobject.factory
Method parameters in org.dspace.discovery.indexobject.factory with type arguments of type DiscoveryConfiguration Modifier and Type Method Description voidItemIndexFactory. addDiscoveryFields(org.apache.solr.common.SolrInputDocument doc, Context context, Item item, List<DiscoveryConfiguration> discoveryConfigurations)Store item fields in the solr document -
Uses of DiscoveryConfiguration in org.dspace.discovery.utils
Methods in org.dspace.discovery.utils with parameters of type DiscoveryConfiguration Modifier and Type Method Description DiscoverQueryDiscoverQueryBuilder. buildFacetQuery(Context context, IndexableObject scope, DiscoveryConfiguration discoveryConfiguration, String prefix, String query, List<QueryBuilderSearchFilter> searchFilters, String dsoType, Integer pageSize, Long offset, String facetName)Create a discovery facet query.DiscoverQueryDiscoverQueryBuilder. buildFacetQuery(Context context, IndexableObject scope, DiscoveryConfiguration discoveryConfiguration, String prefix, String query, List<QueryBuilderSearchFilter> searchFilters, List<String> dsoTypes, Integer pageSize, Long offset, String facetName)Create a discovery facet query.DiscoverQueryDiscoverQueryBuilder. buildQuery(Context context, IndexableObject scope, DiscoveryConfiguration discoveryConfiguration, String query, List<QueryBuilderSearchFilter> searchFilters, String dsoType, Integer pageSize, Long offset, String sortProperty, String sortDirection)Build a discovery queryDiscoverQueryDiscoverQueryBuilder. buildQuery(Context context, IndexableObject scope, DiscoveryConfiguration discoveryConfiguration, String query, List<QueryBuilderSearchFilter> searchFilters, List<String> dsoTypes, Integer pageSize, Long offset, String sortProperty, String sortDirection)Build a discovery query
-