Description

[[FullSearch(regex:^CategoryMarket$)]] should find the ActionMarket page, but doesn't.

Example

[[FullSearchCached(regex:^CategoryMarket$)]]

[[FullSearch(regex:CategoryMarket$)]]

Details

This Wiki.

Workaround

Use linkto search for categories:

[[FullSearch(linkto:CategoryMarket)]]

Linkto search may be faster and works also for page using other formats like rst. It will also show any other page the link to the category page.

Linkto search will also show any page that search for CategoryMarket like this page. The output of search macros is treated like text you write on the page.

Discussion

Both examples are broken, the ^ does not change anything.

Both are also wrong search terms - they will match only:

CategoryMarket

But will not match:

Categories: CategoryMarket, CategoryOther 

Worse, they will match CategoryMarket, which is not a link to the category.

Also, they will not match a page using rst parser, that may use:

CategoryMarket_

CategoryMarket

Generally, regex search is not recommended for category search. It is also too slow for big wikis like this.

Can somebody sum up why this is a bug in MoinMoin?

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/FullSearchNotFindingCategory (last edited 2007-10-29 19:11:34 by localhost)