incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JSPWIKI-477) Renamed pages are no longer in the Lucene index
Date Sun, 01 Feb 2009 17:57:59 GMT

     [ https://issues.apache.org/jira/browse/JSPWIKI-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Harry Metske updated JSPWIKI-477:
---------------------------------

    Attachment: JSPWiki-477.patch

I don't think we can rely on the context in PageRenamer (context is one of the parameters
for WikiEngine.saveText() )

I like to suggest the following patch, which is a simple re-index of the renameTo page. (and
a similar patch for 2.8)

> Renamed pages are no longer in the Lucene index
> -----------------------------------------------
>
>                 Key: JSPWIKI-477
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-477
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.8.1
>         Environment: Red Hat Linux, Windows Vista
>            Reporter: Stefan Bohn
>             Fix For: 2.8.2
>
>         Attachments: JSPWiki-477.patch
>
>
> When renaming a page, the page is deleted of the search index and no new entry is made.
> That means, after renaming a page, the page could no longer be found by the search engine.
> And if the page is renamed back to the former name, it cannot be found.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message