Thanks, but we are actually specifically using the older Lucene indexes due to
some other unrelated things. I’m still thinking this is probably not an
indexing issue, but I can’t say for sure…
From: Hilton Gibson [mailto:[email protected]]
Sent: Thursday, July 24, 2014 3:03 PM
To: Halliday, James Leonard
Cc: [email protected]
Subject: Re: [Dspace-tech] problems with collections views with DSpace upgrade
to 4.1
Hi Jim
There is a BIG change with browse and search indexes, basically they all now
operate from SOLR databases.
See the following links for further info.
http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Discovery/3.2
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/3.2
Although based on 3.2, they should get you started in the right direction.
Cheers
hg
Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa
Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson
On 24 July 2014 20:46, Halliday, James Leonard
<[email protected]<mailto:[email protected]>> wrote:
Hi everyone,
I am upgrading an instance of DSpace from 1.5.2 to 4.1, and I’m running into 2
problems after the upgrade. They may be related, so I’m posting them both here
together. First off, note that I’m using legacy lucene indexing and XMLUI, and
I’m using code that has worked for 2 other DSpace upgrades.
Problem #1: The collection pages are blank after the upgrade. In other words,
the collection pages don’t show the usual content in the main part of the page
(the “search within this document type”, “browse by”, and “recent submissions”
are all missing). The sidebar is there, and I can search or browse the
collection just fine by using the sidebar, but the main part of the page
doesn’t show. Strangely, I can switch to any other theme, including Classic and
Kubrick, and the same problem occurs. If I view the DRI and XML versions of
those pages I can see that the “recent submissions” node is not present at all.
If I create new collections, they exhibit the same problem. I do not have this
problem in the older 1.5.2 instance.
Problem #2: When running an index-lucene-init it works just fine, but running
index-lucene-update crashes every time with:
java.lang.NullPointerException
at org.dspace.search.DSIndexer.cleanIndex(DSIndexer.java:604)
at org.dspace.search.DSIndexer.main(DSIndexer.java:507)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
Can anyone help me with this? I’m more concerned about #1 than #2, because I
won’t be able to put this repository into production until I resolve this issue.
Thanks!
- Jim Halliday
- Indiana University
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
DSpace-tech mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette