Author: metskem
Date: Fri Feb  6 17:42:21 2009
New Revision: 741650

URL: http://svn.apache.org/viewvc?rev=741650&view=rev
Log:
2.8.2-svn-9 JSPWIKI-477 Renamed pages are no longer in the Lucene index

Modified:
    incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/.classpath
    incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog
    
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java
    
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java

Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/.classpath
URL: 
http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/.classpath?rev=741650&r1=741649&r2=741650&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/.classpath (original)
+++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/.classpath Fri Feb  6 
17:42:21 2009
@@ -40,6 +40,6 @@
        <classpathentry kind="lib" path="tests/lib/jetty-servlet-5.1.14.jar"/>
        <classpathentry kind="lib" path="tests/lib/stripes-1.5.jar"/>
        <classpathentry kind="lib" 
path="tests/lib/selenium-server-1.0-beta1.jar"/>
-       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/JVM
 1.5.0"/>
+       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
        <classpathentry kind="output" path="classes"/>
 </classpath>

Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog
URL: 
http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog?rev=741650&r1=741649&r2=741650&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog (original)
+++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog Fri Feb  6 17:42:21 
2009
@@ -1,3 +1,9 @@
+2009-02-06  Harry Metske <[email protected]>
+
+        * 2.8.2-svn-9
+        
+        * JSPWIKI-477 Renamed pages are no longer in the Lucene index
+
 2009-02-03  Dirk Frederickx <[email protected]>
 
         * 2.8.2-svn-8

Modified: 
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java
URL: 
http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java?rev=741650&r1=741649&r2=741650&view=diff
==============================================================================
--- 
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java
 (original)
+++ 
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java
 Fri Feb  6 17:42:21 2009
@@ -77,7 +77,7 @@
      *  <p>
      *  If the build identifier is empty, it is not added.
      */
-    public static final String     BUILD         = "8";
+    public static final String     BUILD         = "9";
     
     /**
      *  This is the generic version string you should use

Modified: 
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java
URL: 
http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java?rev=741650&r1=741649&r2=741650&view=diff
==============================================================================
--- 
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java
 (original)
+++ 
incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java
 Fri Feb  6 17:42:21 2009
@@ -156,6 +156,11 @@
             updateReferrers( context, fromPage, toPage, referrers );
         }
 
+        //
+        //  re-index the page 
+        //
+        engine.getSearchManager().reindexPage(toPage);
+
 
         //
         //  Done, return the new name.


Reply via email to