2007/1/30, 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;">
Mikkel Kamstrup Erlandsen writes:<br> ><br> > Thinking more about this operator precedence issue... What about<br> ><br> > || type:music jimi hendrix or beatles<br> ><br> > If OR had precedence over AND that search would not yield the expected
<br> > results...<br><br>Yes, but this is actually a phrase search which should be expressed as<br>type:music "jimi hendrix" 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's use the<br>universal standard for this: bracketing with parenthesis.</blockquote><div><br>Ok, let's not have it then. I really don't think parenthesis' should be a part of end-user language, but I'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;"> > > In our case, I think that you are right and that it makes more sense to
<br> > > have OR take precedence, this has my vote.<br> ><br> > 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't have precedence as is standard... Anyway I'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's only about the proposal for now.<br></div><br>Cheers,<br>Mikkel<br></div><br>