Description

I did a fulltext search with some keywords and found a "display" bug. In a search result the matches (how many times the keyword is found in the wikipage or document) are displayed on the right side of the found item. I found out that since MoinMoin 1.9.x the searchresult always says 0 matches for pdf documents.

-- MarcelHäfner 2010-08-23 11:24:27

I have noticed this problem also on this wiki itself. Try a text search mimetype:application/pdf (python). It will return results showing 0 matches even though the files do contain the word python. Also I have noticed the 0 matches problem on office documents, not just pdfs.

-- BenWilliams 2010-09-27 03:27:27

Steps to reproduce

Use this MoinMoin

  1. Search for  moinmoin.wikiwikiweb.de mimetype:pdf  in fulltext mode: Link

  2. See the "0 matches"
  3. If you make a test with older Moin 1.8.x its working: example I upgraded to 1.9.x anyway...

Example

See the matches 0 for pdf documents...

screenshot.png

Component selection

Details

MoinMoin Version

1.9.x

OS and Version

this Wiki

Python Version

Server Setup

Server Details

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

Workaround

Discussion

Maybe because Xappy was in 1.9.0 introduced

Isn't that "0 matches" referring to matches of a search word within the content of the document? The stuff you found had a match in the document name (not content) and document type.

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/1.9 WrongMatchesInSearchResultWithPdfDocuments (last edited 2010-10-12 21:38:20 by MarcelHäfner)