simple search api (was Re: mimetype standardisation by testsets)
Mikkel Kamstrup Erlandsen
mikkel.kamstrup at gmail.com
Sun Dec 3 15:59:08 EET 2006
2006/12/3, Jos van den Oever <jvdoever at gmail.com>:
>
>
> if we dont allow for nested queries, a query can be defined as a(iss)
> which is a list of query arguments.
> i -> query operator: +, -, <, or >
> s -> name of the field to search in
> s -> value to look for
Ok, so fx:
{
{+, "content", "foo bar"}
}
Searches the content field for the phrase "foo bar"?
{
{+, "artist", "foo bar"}
{+, "group", "audio"}
}
Is a search for any audio file annotated to the artist "foo bar"?
How about logical OR, did you leave that out on purpose?
How about wildcards? Where do we allow them (if we do at all) in field name
and/or query string?
Cheers,
Mikkel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/xdg/attachments/20061203/35464b7a/attachment.htm
More information about the xdg
mailing list