Description

When using Xapian, and doing a title search with a regex for example to search categories, some links appears in double, triple or more. I can be done using the macro FullSearch or with the right-top box.

Steps to reproduce

  1. Create a page which calls the macro <<FullSearch(title:regex:^Category)>> to find all the pages which have a title starting with Category

  2. Save this page
  3. See the results, some links appears twice, thrice or more times. The more pages with titles starting with Category the better the test is.

Example

With page_category_regex = u'^Categorie[A-Z]' in wikiconfig.py

MoinMoinBugs-1.6.2XapianSearchResultsAreDoubled.png

Component selection

Details

MoinMoin Version

vversion 1.6.2

OS and Version

Debian Etch (stable)

Python Version

2.4.4-1

Server Setup

?

Server Details

libxapian13 0.9.9-1 / python-xapian 0.9.9-1.1

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

French or English

Workaround

Stop using Xapian

Discussion

I was running in the same problem - a while ago. But for now, I can't reproduce this error (see http://lotek.heavy.ch/XapianTest with 193 Categories). Maybe because I rebuild the index.... don't know for sure -- MarcelHäfner 2008-04-04 19:47:40

This effect happens if you use moin index build --mode=add multiple times.

(!) Either use --mode=update for updating or --mode=rebuild for a complete rebuild.

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/1.6.2XapianSearchResultsAreDoubled (last edited 2008-05-03 20:08:59 by ThomasWaldmann)