mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-24 02:13:09 +00:00
Option to generate community and collection "strength" as a batch job
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2328 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
(Graham Triggs/Mark Diggory
|
||||
(Graham Triggs/Mark Diggory)
|
||||
- S.F. Bug 1824710 Creative Commons RDF has changed. Adjusted CC processing to be XSL driven
|
||||
and adjusted generated XML/RDF. Created LicenseCleanup CLI to process existing CC license_rdf
|
||||
|
||||
@@ -11,6 +11,7 @@ SF Patch 1794700 Bug fix for stat-monthly and stat-report-monthly
|
||||
|
||||
(Richard Jones)
|
||||
- S.F. Patch 1670093 More stable metadata and schema registry import
|
||||
- Option to generate community and collection "strength" as a batch job
|
||||
|
||||
(Richard Jones / Graham Triggs)
|
||||
- New Browse code that allows customisation of the available indexes via dspace.cfg,
|
||||
|
||||
@@ -313,9 +313,26 @@ webui.preview.brand.font = SansSerif
|
||||
webui.preview.brand.fontpoint = 12
|
||||
#webui.preview.dc = rights
|
||||
|
||||
##### Settings for content count/strength information ####
|
||||
|
||||
# whether to display collection and community strengths
|
||||
#
|
||||
webui.strengths.show = false
|
||||
|
||||
# if showing the strengths, should they be counted in real time or
|
||||
# fetched from cache?
|
||||
#
|
||||
# Counts fetched in real time will perform an actual count of the
|
||||
# database contents every time a page with this feature is requested,
|
||||
# which will not scale. If the below setting is to use the cache, you
|
||||
# must run the following command periodically to update the count:
|
||||
#
|
||||
# [dspace]/bin/dsrun org.dspace.browse.ItemCounter
|
||||
#
|
||||
# The default is to count in real time
|
||||
#
|
||||
webui.strengths.cache = false
|
||||
|
||||
# whether to display the contents of the licence bundle (often just the deposit
|
||||
# licence in standard DSpace installation
|
||||
webui.licence_bundle.show = false
|
||||
|
||||
@@ -736,6 +736,19 @@ FROM ItemsBySubject, Communities2Item
|
||||
WHERE ItemsBySubject.item_id = Communities2Item.item_id
|
||||
;
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- Tables to manage cache of item counts for communities and collections
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
CREATE TABLE collection_item_count (
|
||||
collection_id INTEGER REFERENCES collection(collection_id),
|
||||
number INTEGER
|
||||
);
|
||||
|
||||
CREATE TABLE community_item_count (
|
||||
community_id INTEGER REFERENCES community(community_id),
|
||||
number INTEGER
|
||||
);
|
||||
|
||||
-------------------------------------------------------
|
||||
-- Create 'special' groups, for anonymous access
|
||||
|
||||
@@ -61,3 +61,17 @@ alter table bundle drop column mets_bitstream_id; -- totally unused column
|
||||
-- of the last page reached within a step in the Configurable Submission Process
|
||||
-------------------------------------------------------------------------------
|
||||
ALTER TABLE workspaceitem ADD page_reached INTEGER;
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- Tables to manage cache of item counts for communities and collections
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
CREATE TABLE collection_item_count (
|
||||
collection_id INTEGER REFERENCES collection(collection_id),
|
||||
number INTEGER
|
||||
);
|
||||
|
||||
CREATE TABLE community_item_count (
|
||||
community_id INTEGER REFERENCES community(community_id),
|
||||
number INTEGER
|
||||
);
|
||||
Reference in New Issue
Block a user