[ 
https://jira.duraspace.org/browse/DS-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21650#comment-21650
 ] 

Tim Donohue commented on DS-980:
--------------------------------

This code seems to work fine with both Solr Statistics and traditional Search 
(via Lucene).  

But, I'm having trouble testing it with Discovery, as I'm unable to get the 
'update-discovery-index' command to work.

With this patch in place, running the following:  

[dspace]/bin/dspace update-discovery-index -b    

Throws this error:

Internal Server Error
request: http://localhost:8080/solr/search/update
        at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
        at 
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
        at 
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:86)
        at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:75)
        at 
org.dspace.discovery.SolrServiceImpl.updateIndex(SolrServiceImpl.java:329)
        at 
org.dspace.discovery.SolrServiceImpl.createIndex(SolrServiceImpl.java:271)
        at org.dspace.discovery.IndexClient.main(IndexClient.java:113)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) 

I'm still attempting to determine if this is an issue on Trunk, or if it is an 
issue with the upgrade to Solr 3.3.0.
                
> Upgraded solr & lucene to version 3.3.0
> ---------------------------------------
>
>                 Key: DS-980
>                 URL: https://jira.duraspace.org/browse/DS-980
>             Project: DSpace
>          Issue Type: Improvement
>          Components: Discovery, DSpace API, JSPUI, Solr, XMLUI
>    Affects Versions: 1.8.0
>            Reporter: Kevin Van de Velde
>            Assignee: Tim Donohue
>            Priority: Major
>         Attachments: Lucene_&_Solr_version_upgrade_to_3_3_0.patch
>
>
> Since DSpace is still using solr 1.4.x & lucene 2.9.3 I have created a patch 
> that will upgrade these to version 3.3.0 (Lucene & solr have received 
> matching version numbers).
> Since the dspace solr also requires a LocalHostRestrictionFilter I have 
> created a dspace-solr module with version 3.3.0.0 at the following location: 
> http://scm.dspace.org/svn/repo/modules/dspace-solr/branches/dspace-solr-parent-3.3.0.0
> Because of the new dspace-solr module a local installation of this module is 
> required to actually test the patch (once the patch has been tested this 
> module will need to be deployed).
> Also a thing to note, the solr upgrade just required updating the poms, but 
> for Lucene some code had to be rewritten some extra eyes on this wouldn't 
> hurt (although the tests I performed have been successful).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to