Xapian and MimeType Search with FindPage

I'm using the Xapian search with pystemmer enabled and I like to search for mimetypes (with FindPage). But there are a few "problems".

Grouped MimeType Search from the FindPage form

A search for only the mimetype "application" doesn't work (with xapian/pystemer). but it should (this is also a bug report; MoinMoinBugs/XapianFindPageFormWorksOnlyForFullMimeType, because the form FindPage offer this possibility). fixed!

But now my wishes:

Finding the right MimeType is long winded with the FindPage form

If you want to find the correct mimetype e.g. for adobe pdf files - for what you looking for, adobe? pdf? No! You not even can type the first few letters of the wanted word (like a-d-o or p-d-f). the goal is to scroll down (a only three line field) ~400 entries and to looking for  *.pdf - application/pdf . this is not very userfriendly.

the list should be a drow down with possiblity to type the first letter (e.g. searching for pdf you would type  p d  and find the correct file. So a listening should maybe look like:

Finding only Wikipages with PageList or FindPage is complicated

Since the Update from Thomas Waldmann its possible to search only for wiki pages (with the formater "wiki"); like

<<PageList(python mimetype:text/wiki)>> 

or also in the FindPage you can choose the correct mimetype. The link would look then something like:

http://moinmo.in/FindPage?action=fullsearch&advancedsearch=1&and_terms=moin&or_terms=&not_terms=&mtime=&categories=&language=&mimetype=text/wiki 

But for an End-User it would be userfriendly if he can choose with a checkbox "no attachments" or "only wiki pages" (and this would search for only text/wiki).

Mimetype text/wiki vs. text/plain

There are maybe some future problems:

this are just my 5cents; maybe with some better knowledge about the future "attachment" and storage framework there are other/better ideas and solutions available.

-- MarcelHäfner 2008-05-26 20:33:10


CategoryFeatureRequest

MoinMoin: FeatureRequests/XapianMimeTypeSearchAndFindPageForm (last edited 2009-06-25 07:39:40 by MarcelHäfner)