2007/1/15, Fabrice Colin <<a href="mailto:fabrice.colin@gmail.com">fabrice.colin@gmail.com</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 1/15/07, Mikkel Kamstrup Erlandsen <<a href="mailto:mikkel.kamstrup@gmail.com">mikkel.kamstrup@gmail.com</a>> wrote:<br>> The main part is the xml schema:<br>> <a href="http://grillbar.org/wasabi/drafts/wasabi-query.xsd">
http://grillbar.org/wasabi/drafts/wasabi-query.xsd</a> . It<br>> contains lots of comments. I've set up a wiki page to collect info,<br>> feedback, and progress on this here:<br>> <a href="http://wiki.freedesktop.org/wiki/WasabiQueryLanguage">
http://wiki.freedesktop.org/wiki/WasabiQueryLanguage</a>.<br>><br>Some comments on first read :<br>- I would leave diacritic sensitivity out</blockquote><div><br>Yes. That is a very technical thing and it might fit into an "Extended" version of language, or just be optional and ignored if not supported. On the other hand spotlight has this so must have it too :-D
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">- not sure whether an integer "boost" is that useful</blockquote><div>
<br>Boost is defined as a float in the schema.<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">- selectionTypes has only "and" and "or". What about phrase searches ?
</blockquote><div><br><equals><br> <property name="dc:title"/><br> <string>hello world</string><br></equals> <br></div><br>was intended to match the phrase "hello world". If you wanted to match "hello" or "world" you would have to explicitly OR them.
<br><br>If this is a bad idea we could either add a simpleType element called "phrase", or have an attribute indicating that the string should be matched as a phrase (fx <equals match="phrase"> or <equals phrase="true">)...
<br><br>Cheers,<br>Mikkel<br></div><br>