TitleSearch: search cannot find keywords from the latest changes
Date25-Sep-2005 03:36:35 EEST
Bug criticalityMediumBug
Browser versionSafari
Bug statusClosedBug
PageProvider useddefault
Servlet ContainerTomcat 5
Operating SystemMac OS X 10.4.2
Java version1.4

Search never includes the latest changes

    public void putPageText( WikiPage page, String content )
        throws ProviderException
        m_provider.putPageText( page, content ); 
        m_engine.getSearchManager().reindexPage( page );

    public void reindexPage( WikiPage page )
                text = m_engine.getPureText( page );

// Still getting the "old" version of page here!! Looks like the "latest version" getPureText uses hasn't been updated.

In other words, the content just put in is never reindexed; instead the version just before "save" is reindexed. The result is that search never "sees" the latest changes.

A rather old one here, just tested on 2.4.100, and I do get a proper hit when searching for a unique string in a just saved page, even after saving newer versions. Closing the bug


Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 24-Mar-2007 15:55 by HarryMetske