Update of /cvsroot/archive-access/archive-access/projects/wera/src/webapps/wera/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13143/lib
Modified Files:
config.inc.template config.inc
Log Message:
Now possible to turn of displaying number of versions per hit (expensive)
Index: config.inc.template
===================================================================
RCS file: /cvsroot/archive-access/archive-access/projects/wera/src/webapps/wera/lib/config.inc.template,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** config.inc.template 4 Oct 2005 22:59:27 -0000 1.1
--- config.inc.template 6 Oct 2005 02:07:37 -0000 1.2
***************
*** 61,67 ****
$conf_document_retriever = "$document_retriever?reqtype=getfile&aid=";
! // URL of gui installation
$conf_http_host = "@guiUrl@";
// Logo
$conf_logo ="$conf_http_host/images/wera.png";
--- 61,77 ----
$conf_document_retriever = "$document_retriever?reqtype=getfile&aid=";
! // URL of ui installation
$conf_http_host = "@guiUrl@";
+ // Set to true if you want number of versions
+ // to show up in each single search result (expensive on NutchWax)
+ // otherwise set to false
+ $conf_show_num_verions = true;
+ // Set to true if you want number of versions matching
+ // query to show up in each single search result,
+ // otherwise set to false
+ // Only kicks in if $conf_show_num_verions is true
+ $conf_show_num_verions_matching_query = true;
+
// Logo
$conf_logo ="$conf_http_host/images/wera.png";
Index: config.inc
===================================================================
RCS file: /cvsroot/archive-access/archive-access/projects/wera/src/webapps/wera/lib/config.inc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** config.inc 5 Oct 2005 22:42:47 -0000 1.4
--- config.inc 6 Oct 2005 02:07:37 -0000 1.5
***************
*** 43,48 ****
// What search engine to use
$conf_searchengine = "nutch";
! #$conf_searchengine_url = "http://wbsearch04.archive.org:8080/nutchwax/opensearch";
! $conf_searchengine_url = "http://localhost:8082/nutchwax/opensearch";
$conf_index_file = $conf_searchenginepath . "/" . $conf_searchengine . ".inc";
$conf_index_class = $conf_searchengine . "Search";
--- 43,48 ----
// What search engine to use
$conf_searchengine = "nutch";
! $conf_searchengine_url = "http://wbsearch04.archive.org:8080/nutchwax/opensearch";
! #$conf_searchengine_url = "http://localhost:8082/nutchwax/opensearch";
$conf_index_file = $conf_searchenginepath . "/" . $conf_searchengine . ".inc";
$conf_index_class = $conf_searchengine . "Search";
***************
*** 54,68 ****
//
// TODO : Move this into the ARC Retriever
! #$conf_aid_prefix = "/2/katrina/nutch-data/arcs/";
! $conf_aid_prefix = "/home/sverreb/apps/heritrix-1.4.0/jobs/lux2-20051004171719798/arcs/";
$conf_aid_suffix = ".arc.gz";
// Prefix to document retriever
! #$document_retriever = "http://wbsearch04.archive.org:8080/ArcRetriever/ArcRetriever";
! $document_retriever = "http://localhost:8082/ArcRetriever/ArcRetriever";
$conf_document_retriever = "$document_retriever?reqtype=getfile&aid=";
! // URL of gui installation
$conf_http_host = "http://localhost/aaWera";
// Logo
--- 54,78 ----
//
// TODO : Move this into the ARC Retriever
! $conf_aid_prefix = "/2/katrina/nutch-data/arcs/";
! #$conf_aid_prefix = "/home/sverreb/apps/heritrix-1.4.0/jobs/lux2-20051004171719798/arcs/";
$conf_aid_suffix = ".arc.gz";
// Prefix to document retriever
! $document_retriever = "http://wbsearch04.archive.org:8080/ArcRetriever/ArcRetriever";
! #$document_retriever = "http://localhost:8082/ArcRetriever/ArcRetriever";
$conf_document_retriever = "$document_retriever?reqtype=getfile&aid=";
! // URL of ui installation
$conf_http_host = "http://localhost/aaWera";
+ // Set to true if you want number of versions
+ // to show up in each single search result (expensive on NutchWax)
+ // otherwise set to false
+ $conf_show_num_verions = true;
+ // Set to true if you want number of versions matching
+ // query to show up in each single search result,
+ // otherwise set to false
+ // Only kicks in if $conf_show_num_verions is true
+ $conf_show_num_verions_matching_query = true;
+
// Logo
|