Author: dom
Date: 2006-08-22 22:22:16 +0100 (Tue, 22 Aug 2006)
New Revision: 837
Modified:
trunk/Build.PL
trunk/Changes
trunk/INSTALL
trunk/PREREQUISITES
Log:
Deprecate Search::InvertedIndex
Modified: trunk/Build.PL
===================================================================
--- trunk/Build.PL 2006-08-10 17:05:11 UTC (rev 836)
+++ trunk/Build.PL 2006-08-22 21:22:16 UTC (rev 837)
@@ -101,6 +101,16 @@
next;
}
+ # We don't ask this for new installs as Search::InvertedIndex is
+ # deprecated
+ if ( $var eq "use_plucene" and $existing_config->$var == 1) {
+ print "Skipping question about plucene\n";
+ push @answers, { question => $qu,
+ variable => $var,
+ value => 1 };
+ next;
+ }
+
# Make sensible suggestions for template paths if we don't already
# have them stored. Not really a default, but a useful hint/shortcut.
if ( $var eq "template_path" && !defined $existing_config->$var
) {
@@ -206,6 +216,8 @@
##### When updating the prereqs PLEASE REMEMBER to update PREREQUISITES.
#####
+# We currently only support Plucene for new installs, but may support
+# others in future
my $search_module = $use_plucene ? "Plucene" :
"Search::InvertedIndex";
# Create the build object.
Modified: trunk/Changes
===================================================================
--- trunk/Changes 2006-08-10 17:05:11 UTC (rev 836)
+++ trunk/Changes 2006-08-22 21:22:16 UTC (rev 837)
@@ -4,6 +4,8 @@
Admin interface
Nodes missing metadata interface
Moderation support (based on Wiki::Toolkit moderation)
+ Search::InvertedIndex support is deprecated as of this release.
+ Please upgrade to Plucene if you are still using it.
0.56 14 June 2006
Fix bug introduced in feed formatting where Atom feeds would be
Modified: trunk/INSTALL
===================================================================
--- trunk/INSTALL 2006-08-10 17:05:11 UTC (rev 836)
+++ trunk/INSTALL 2006-08-22 21:22:16 UTC (rev 837)
@@ -101,10 +101,8 @@
"Do you want to use Plucene for searching?"
-From version 0.39 of OpenGuides, you have the option of using Plucene
-to index your wiki instead of Search::InvertedIndex. If you answer
-yes to this question, you will need to make sure you have installed
-both Plucene, and Wiki::Toolkit version 0.56 or later.
+This question is no longer asked, but documentation here is retained for
+the benefit of people upgrading.
If you are changing to Plucene from Search::InvertedIndex, you will
need to do two things:
Modified: trunk/PREREQUISITES
===================================================================
--- trunk/PREREQUISITES 2006-08-10 17:05:11 UTC (rev 836)
+++ trunk/PREREQUISITES 2006-08-22 21:22:16 UTC (rev 837)
@@ -36,11 +36,7 @@
LWP::Simple
Module::Build (version 0.18 or later)
Parse::RecDescent
-(
- Plucene
- -- or --
- Search::InvertedIndex
-)
+Plucene
POSIX
Template
Test::MockObject (version 0.07 or later)