Description
With this Bug Report ThomasWaldmann implemented some nice mimetype search for only wiki pages (like text/wiki), etcetera...
but, if you use the FindPage for searching pages you can choose some full mimetype like application/pdf but the form also displays a search for only the "grouped" mimetype like application .
With Xapian enabled the search for only application is not working!
Steps to reproduce
Use Xapian Search and try out the FindPage with mimetype "application", "audio", "image", message", "text" or "video"
Example
not working: FindPage with application
Working: FindPage with application/pdf
Component selection
- search/Xapian.py
Details
MoinMoin Version |
1.6/rev/1829d890e862 but I think also in 1.7dev |
OS and Version |
RedHat Linux |
Python Version |
2.5.2 |
Server Setup |
Apache2 with mod_wsgi |
Server Details |
Xapian and PyStemmer |
Language you are using the wiki in (set in the browser/UserPreferences) |
de |
Workaround
- use only exact/full mimetypes (this works; but for a normal user it's not possible to see this "limitation")
Discussion
the bug is only about that the form offer some functionality, where xapian (for now) not can handle; in my eyes there should be also some more sorted possibilities for mimetype and attachment search, but this will go definitely in a future FeatureRequest.
under FeatureRequests/XapianMimeTypeSearchAndFindPageForm now, I added some additional wishes for mimetype search
Plan
- Priority:
- Assigned to:
Status: fixed by http://hg.moinmo.in/moin/1.7/rev/8352dcd5a282