2007/1/18, Jean-Francois Dockes <<a href="mailto:jean-francois.dockes@wanadoo.fr">jean-francois.dockes@wanadoo.fr</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;">
Fabrice Colin writes:<br> > On 1/17/07, Mikkel Kamstrup Erlandsen <<a href="mailto:mikkel.kamstrup@gmail.com">mikkel.kamstrup@gmail.com</a>> wrote:<br> > > Regarding the user-level language now. Perhaps "flying Dutchman" would
<br> > > mean the unstemmed phrase (if supported), and 'flying Dutchman'<br> > > (single quotes) could allow for stemming. This is not completely<br> > > standard, but it doesn't break user expectation in horrible ways (as
<br> > > far as I can see).<br> > ><br> > I think it does. Double quotes usually express a phrase search. My<br> > opinion is we'd better leave stemming (and diacritic sensitivity) out<br> > and let each back-end play its specific strengths as it likes to find
<br> > the best matches.<br><br>When the user is searching for a specific form of a word (typically for a<br>proper noun), he usually knows it. This is an important and basic piece of<br>meta-information which the simple query language should be able to express
<br>as it can vastly improve results.<br><br>The natural thing to do is to use capitalization (capitalized terms are<br>searched as is), but this conflicts with case-sensitive searches if we<br>really want them.<br><br>I do not like the single quote solution that much, one reason being that
<br>single quotes sometimes make sense in words (O'Donnell).<br><br>Spotlight allows adding search modifiers as letters after a double-quoted<br>expression, like: "someword"cdw where c, d, w control case/diacritic
<br>sensitivity and whole word matching. This seems like a good solution. Is<br>there a risk that this might be patented and does anyone know how to do a<br>patent check ?</blockquote><div><br>I'm not a total fan of the spotlight language. It has several drawbacks:
<br> - Case sensitive by default<br> - Non-google-like (uses fx. "property == value")<br> - Wildcards allowed anywhere within a string (can we match that?)<br> - Diacritics sensibility switch allowed by default<br>
<br>Good things:<br> - A "known standard"<br> - Predefined values like time.today and time.now<br> - Allows ==, >=, >, <, and <= comparisons on attributes (which is unnatural with the google-like syntax "attribute:value")
<br> - Phrase postfixes like "Paris"c to control case sensitivity and such.<br> - Apple must believe it is a good syntax<br><br>Spotlight Query syntax reference:<br><a href="http://developer.apple.com/documentation/Carbon/Conceptual/SpotlightQuery/Concepts/QueryFormat.html#//apple_ref/doc/uid/TP40001849-CJBEJBHH">
http://developer.apple.com/documentation/Carbon/Conceptual/SpotlightQuery/Concepts/QueryFormat.html#//apple_ref/doc/uid/TP40001849-CJBEJBHH</a><br><br>Is there a syntax ref for the windows vista search tool?<br><br>Cheers,
<br>Mikkel<br></div><br></div><br>