Description
When you search for text, the results show you excerpts of from the match pages, and is supposed to (used to) highlight your search words wherever they show up in those excerpts.
In 1.7, the highlighting works on some matches, and on others it highlights rather inexplicable sections of the text.
Steps to reproduce
Search for t:help attachment
- Examine the bold text in the search results
Example
Component selection
- search index outdated
Details
MoinMoin Version |
this wiki (1.7 dev.), xapian search enabled |
Workaround
- rebuild search index after installing new underlay pages
Discussion
The index was built with a different (older) set of underlay pages. Xapian stores term positions in its search indexed and they are used to render search results, highlighting the positions. As I installed different pages (from master17) afterwards, those positions were rather wrong, obviously.
Plan
- Priority:
- Assigned to:
- Status: fixed by rebuilding index