"Date issued" discovery sidebar is frozen at 2015

94 views
Skip to first unread message

David A

unread,
Feb 3, 2017, 2:38:31 PM2/3/17
to DSpace Technical Support, darr...@ryerson.ca
Greetings!

The "Date Issued" list on the Discovery sidebar of our website seems to be stuck at 2015, despite the fact that we have entries for 2016
The discover.cfg and spring-dspace-addon-discovery-configuration-services.xml have not been modified recently, so I don't believe the issue lies there.
I tried to run update-discovery-index through SSH, and appeared to get some errors (see attached "Terminal Saved Output" file).

Does anybody have any tips on how I might resolve this?

Many thanks,
David

Terminal Saved Output.txt

David A

unread,
Feb 15, 2017, 2:28:26 PM2/15/17
to DSpace Technical Support
Hi everybody,

An update: I was able to get over the SSH error and am now able to run the update-discovery-index. After looking more at the documentation, here's what I have tried to no avail:
  1. I noticed that unlike Author and Subject sidebar facets, the Date Issued facet does not offer a "View more" link for what I presume is the default maximum of 10 entries
  2. So I increased the optional <property name="facetLimit" value="15"/> to <bean id="searchFilterIssued"> sidebar facet which sorts by dc.date.issued
  3. I made this change in two files:
    1. config/spring/discovery/spring-dspace-addon-discovery-configuration-services.xml
    2. config/spring/api/discovery.xml
  4. Then, I ran [dspace]/bin/dspace update-discovery-index and didn't seem to receive an error:

    INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=18bbb8f5-f9a8-4b1d-8e94-189ebb8347b0,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
     INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/apps/dspace/config/dspace.cfg
     INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config)
     INFO [main] (ConfigurationManager.java:1224) - Loading: /apps/dspace/config/log4j.properties

  5. Then I restarted the server
  6. But the problem persists.

Has anybody else encounter this? 

FYI, it appears I'm using XMLUI for DSpace version 3.0.

Thanks,
David

--
You received this message because you are subscribed to a topic in the Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/dOno8dXeKns/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-tech+unsubscribe@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

David A

unread,
May 4, 2017, 3:53:41 PM5/4/17
to DSpace Technical Support
Hi everybody,

So I gave up on trying to edit the number of years listed on the sidebar, and have decided to just remove the date-issued bean from the sidebar altogether.

However, even this is presenting a challenge. I thought it would be as simple as commenting-out or deleting the following from discovery.xml and spring-dspace-addon-discovery-configuration-services.xml

    <bean id="searchFilterIssued" class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet"> 
        <property name="indexFieldName" value="dateIssued"/>
        <property name="metadataFields">
            <list>
                <value>dc.date.issued</value>
            </list>
        </property>
        <property name="type" value="date"/>
        <property name="facetLimit" value="10"/>
        <property name="sortOrder" value="VALUE"/>
    </bean>

But when I comment out or delete this code from those two files, it triggers a 404 error. This happens, even after resetting the server and update-discovery-index.




Any hints?

Many thanks,
David


On Wednesday, February 15, 2017 at 2:28:26 PM UTC-5, David A wrote:
Hi everybody,

An update: I was able to get over the SSH error and am now able to run the update-discovery-index. After looking more at the documentation, here's what I have tried to no avail:
  1. I noticed that unlike Author and Subject sidebar facets, the Date Issued facet does not offer a "View more" link for what I presume is the default maximum of 10 entries
  2. So I increased the optional <property name="facetLimit" value="15"/> to <bean id="searchFilterIssued"> sidebar facet which sorts by dc.date.issued
  3. I made this change in two files:
    1. config/spring/discovery/spring-dspace-addon-discovery-configuration-services.xml
    2. config/spring/api/discovery.xml
  4. Then, I ran [dspace]/bin/dspace update-discovery-index and didn't seem to receive an error:

    INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=18bbb8f5-f9a8-4b1d-8e94-189ebb8347b0,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
     INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/apps/dspace/config/dspace.cfg
     INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config)
     INFO [main] (ConfigurationManager.java:1224) - Loading: /apps/dspace/config/log4j.properties

  5. Then I restarted the server
  6. But the problem persists.

Has anybody else encounter this? 

FYI, it appears I'm using XMLUI for DSpace version 3.0.

Thanks,
David

geneviev...@anu.edu.au

unread,
May 16, 2017, 7:07:47 PM5/16/17
to DSpace Technical Support
Hi David,

Have you removed the references to 'searchFilterIssued' in your discovery index?  Personally I would leave the searchFilterIssued uncommented, and remove/comment out the reference from the 'sidebarFacets' in discovery.xml (I have never touched spring-dspace-addon-discovery-configuration-services.xml so I don't know about the configuration in there).  e.g. homepageConfiguration -> sidebarFacets or defaultConfiguration -> sidebarFacets.  From memory the sidebarFacets and list are still required in those, but you can effectlvely have an empty list if desired.

Regards,

Genevieve
To unsubscribe from this group and all its topics, send an email to dspace-tech...@googlegroups.com.

David A

unread,
Jun 29, 2017, 1:08:37 PM6/29/17
to geneviev...@anu.edu.au, DSpace Technical Support
That did the trick, Genevieve! Thanks so much :)
In lieu of a way to show the most recent years, this is the next best thing.

Cheers,
David

To unsubscribe from this group and all its topics, send an email to dspace-tech+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages