Copyright (C) 2000-2012 |
Manpages MEDUSA-SEARCH-URISection: Environments, Tables, and Troff Macros (7)Updated: February 8, 2001 Index Return to Main Contents NAMEmedusa-search-uri - syntax for medusa searchesSYNOPSISgnome-search:[file:///] criterion [ & criterion ... ]DESCRIPTIONmedusa-indexd produces file system indices which can then be queried with msearch or with the libmedusa libraries . This manual page documents the syntax used to specify what to search for.WARNING: This manual page is mostly cloned from the search_uri_rfc document in the medusa distribution and has been put into manual page form by someone who really doesn't know how it all works. It also documents what the aforementioned document says works at the moment, rather than how it ought to work eventually. Search method and rootSearch URIs begin with a search method:
followed by a bracketed file system root: At the moment medusa: or search: will also be accepted instead of gnome-search:. You are supposed to be able to specify multiple bracketed roots, which are supposed to be able to have protocols other than file:, and roots other than /, but I believe at the moment it has to be exactly as above. CriteriaThe search method and root are followed by one or more criteria. If there is more than one, they are separated by ampersands:
According to the specification, vertical bars (|) can be used to specify an or relation, and parentheses (( and )) can be used to group criteria, but I believe neither of these features is currently implemented. Below is the list of criteria that are understood:
(I think is_in means ``is a subdirectory of.'' Directory searches don't seem to work for me, though.)
(This syntax is wrong for the content searches, but I don't know what the real syntax is, because even when I do a search from inside Nautilus I get the error message that the URI is invalid.)
I leave out the other search criteria that search_uri_rfc documents but says are unimplemented now. EXAMPLESmsearch 'gnome-search:[file:///]file_name is etc'msearch 'gnome-search:[file:///]file_name begins_with gnome-s' msearch 'gnome-search:[file:///]file_name matches gnome*.png' msearch 'gnome-search:[file:///]file_name regexp_matches ^k[st]e' msearch 'gnome-search:[file:///]modified is 02/01/2001' SEE ALSOmsearch(1), medusa-indexd(1)
IndexThis document was created by man2html, using the manual pages. Time: 01:55:57 GMT, December 13, 2024 |