Description

If you using MoinMoin with the Xapian SearchEngine in full text mode with some regex parameters, the Xapian gets disabled and the standard moinsearch will be using.

A manual restart of the MoinMoin process or Server helps. For me it seems that also that the indexing will stop and you need to rebuild it manually (atleast if you want an actual index).

Steps to reproduce

I'm bad; but I did it on our MasterMoin:

with the timing/log displayed on your site you will see that _moinSearch is used and not the _xapianProcess


{i} if you make some basic title-search regex like regex:test* everything works.... but if you switch to fulltextsearch the moin stops the xapian search.

Example

moinsearch.png

    * _moinSearch = 0.138s
    * base__init__ = 0.002s
    * getACL = 0.003s
    * getPageCount = 0.002s
    * getPageList = 0.137s
    * i18n_init = 0.000s
    * load_multi_cfg = 0.000s
    * run = 0.209s
    * total = 0.210s

Component selection

Details

MoinMoin Version

1.6.0

OS and Version

Linux

Python Version

2.5

Server Setup

Standalone Server

Server Details

Farmwiki with Xapian 1.0.4 and pyStemmer 1.0.1

Language you are using the wiki in (set in the browser/UserPreferences)

de | en

Workaround

Discussion

At the moment I do not found any logs where explained to me, why the moinmoin stops using xapian search-engine...

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/1.6.0XapianCrashAfterRegexSearch (last edited 2008-02-02 18:41:26 by ThomasWaldmann)