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
Create a page which calls the macro <<FullSearch(title:regex:^Category)>> to find all the pages which have a title starting with Category
- Save this page
- 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
Component selection
MoinMoin Xapian search
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
- Priority:
- Assigned to:
- Status: maybe wrong use of index build command. if this is not the case, please provide more details when reopening this.