2007/1/30, Jean-Francois Dockes &lt;<a href="mailto:jean-francois.dockes@wanadoo.fr">jean-francois.dockes@wanadoo.fr</a>&gt;:<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;">
Mikkel Kamstrup Erlandsen writes:<br> &gt;<br> &gt; Thinking more about this operator precedence issue... What about<br> &gt;<br> &gt; || type:music jimi hendrix or beatles<br> &gt;<br> &gt; If OR had precedence over AND that search would not yield the expected
<br> &gt; results...<br><br>Yes, but this is actually a phrase search which should be expressed as<br>type:music &quot;jimi hendrix&quot; or beatles</blockquote><div><br>point taken. <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;">
If we are going to have any kind of explicit grouping let&#39;s use the<br>universal standard for this: bracketing with parenthesis.</blockquote><div><br>Ok, let&#39;s not have it then. I really don&#39;t think parenthesis&#39; should be a part of end-user language, but I&#39;m willing to reconsider if there are objections.
<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;"> &gt; &gt; In our case, I think that you are right and that it makes more sense to
<br> &gt; &gt; have OR take precedence, this has my vote.<br> &gt;<br> &gt; Are you still of the same opinion?<br><br>Yes for a simple reason: the natural way that the OR thing gets into<br>searching is through synonyms. That is, you are searching for
<br>[beatles AND live] and get to thinking about expanding to<br>[(beatles OR lennon) AND (live OR unplugged)].<br>This is very common and made easier if OR has precedence.</blockquote><div><br>Ok, I change my mind back (for now). OR could have precende. The reason why I am hesitating is because people might find it outrageous that AND doesn&#39;t have precedence as is standard... Anyway I&#39;m willing to take that risk :-) I would like more opinions on this though.
<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;">But the decision will always be a split one, there are reasons on each<br>side, you just have to decide something.
</blockquote><div><br>No, _we_ have to decide something :-) Anyway things might change when we go into public evaluation, it&#39;s only about the proposal for now.<br></div><br>Cheers,<br>Mikkel<br></div><br>