Hi Harry,

Yes, I think I've gotten so used to this I forgot it would be considered
a bug. This occurs on my older wikis as well as my latest wiki for
robots.org.nz's wiki at https://service.robots.org.nz/wiki/

I'm trying to think back as to what triggers a Lucene update, probably
the EventListener/EventManager? Sorry I can't be more helpful on this.

Cheers,

Murray

On 28/09/20 1:10 am, Harry Metske (Jira) wrote:

     [ 
https://issues.apache.org/jira/browse/JSPWIKI-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17202816#comment-17202816
 ]

Harry Metske commented on JSPWIKI-1131:
---------------------------------------

This is really an annoying one, I experience the same on my own wiki.

Lucene Index not updated on edits/new page
------------------------------------------

                 Key: JSPWIKI-1131
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1131
             Project: JSPWiki
          Issue Type: Bug
          Components: Search
    Affects Versions: 2.11.0-M7
         Environment: * Debian 10
  * Tomcat 9: 9.0.31-1~deb10u2
  * OpenJDK-JRE 11: 11.0.7+10-3~deb10u1
  * JSPWiki 2.11.0-M7
            Reporter: FP
            Priority: Critical
         Attachments: exception.txt


It seems that the lucene search index is not updated when a user edits an 
existing page or creates a new page. In both cases, the page is not found when 
someone searches for it.
Search works as expected when:
  * Tomcat is stopped
  * The files in the {{lucene}} directory are removed
  * Tomcat is started
  * Wait until the Lucene Indexer thread finishes reindexing
The following exception occurs when a page is edited (full stack trace 
attached):
{{java.io.NotSerializableException: org.apache.wiki.WikiContext}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


--

...........................................................................
Murray Altheim <murray18 at altheim dot com>                       = =  ===
http://www.altheim.com/murray/                                     ===  ===
                                                                   = =  ===
    In the evening
    The rice leaves in the garden
    Rustle in the autumn wind
    That blows through my reed hut.
           -- Minamoto no Tsunenobu

Reply via email to