From 2d450029fbd626fb3493d6a69d7ce4390ac5301c Mon Sep 17 00:00:00 2001 From: ryounes Date: Wed, 25 May 2011 15:46:46 +0000 Subject: [PATCH] NIHVIVO-2437 Switch to Solr index and controllers --- example.deploy.properties | 13 +++++++--- productMods/WEB-INF/web.xml | 51 ++++++++++++++++++------------------- 2 files changed, 35 insertions(+), 29 deletions(-) diff --git a/example.deploy.properties b/example.deploy.properties index 323dcc04..aaf87500 100644 --- a/example.deploy.properties +++ b/example.deploy.properties @@ -41,6 +41,12 @@ tomcat.home = /usr/local/tomcat # webapp.name = vivo +# +# URL of Solr context used in local VIVO search. Should consist of +# scheme + servername + port + contextpath + "solr" +# +vitro.local.solr.url = http://localhost:8080/vivosolr + # # The location where the VIVO application will store the data that it creates. # This includes uploaded files (usually images) and the Lucene search index. @@ -48,10 +54,11 @@ webapp.name = vivo vitro.home.directory = /usr/local/vivo/data # -# SMTP host which the "Contact Us" form can use to send mail. If this is left -# empty, the "Contact Us" form will be disabled. +# SMTP host used to send email, and the email recipient. +# If these are left empty, email is disabled. # -Vitro.smtpHost = +email.smtpHost = +email.replyTo = # # The basic parameters for a database connection. Change the end of the diff --git a/productMods/WEB-INF/web.xml b/productMods/WEB-INF/web.xml index e05793fa..be35c672 100644 --- a/productMods/WEB-INF/web.xml +++ b/productMods/WEB-INF/web.xml @@ -148,17 +148,17 @@ - + edu.cornell.mannlib.vitro.webapp.search.solr.SolrSetup - --> + @@ -904,47 +904,46 @@ /listObjectPropertyStatements - + IndividualListController edu.cornell.mannlib.vitro.webapp.controller.freemarker.SolrIndividualListController - --> IndividualListController /individuallist + IndividualListRdf edu.cornell.mannlib.vitro.webapp.controller.IndividualListRdfController - --> IndividualListRdf /listrdf/* + SearchController edu.cornell.mannlib.vitro.webapp.search.controller.SolrPagedSearchController - --> SearchController /search @@ -964,16 +963,17 @@ /searchcontroller + AutocompleteController edu.cornell.mannlib.vitro.webapp.search.controller.SolrAutocompleteController - --> + AutocompleteController /autocomplete @@ -1019,45 +1019,44 @@ /contact - + JSON Service edu.cornell.mannlib.vitro.webapp.controller.SolrJsonServlet - --> JSON Service /dataservice - + + JSON Reconcile Service edu.cornell.mannlib.vitro.webapp.controller.SolrJsonReconcileServlet - --> JSON Reconcile Service /reconcile - - HomePageController - edu.cornell.mannlib.vitro.webapp.controller.freemarker.HomePageController - - - HomePageController - /home - + + HomePageController + edu.cornell.mannlib.vitro.webapp.controller.freemarker.HomePageController + + + HomePageController + /home + DashboardPropertyListController