[Wasabi Proposal] XML desktop query language

Jean-Francois Dockes jean-francois.dockes at wanadoo.fr
Tue Jan 16 05:58:06 PST 2007


Mikkel Kamstrup Erlandsen writes:
 > 2007/1/16, Jean-Francois Dockes <jean-francois.dockes at wanadoo.fr>:
 > > - About distance also, you may want to say things like:
 > >          (caudal or dorsal) prox vertebra
 > 
 > is this not equivalent to:
 > 
 > <or>
 >   <proximity>
 >     <property name="body">
 >     <string>caudal</string>
 >     <string>vertebra</string>
 >   </proximity>
 > 
 >   <proximity>
 >     <property name="body">
 >     <string>dorsal</string>
 >     <string>vertebra</string>
 >   </proximity>
 > </or>

Yes, I think you're right.

 > ? The Xapian query compiler would probably optimise this to " (caudal or
 > dorsal) prox vertebra" - but I honestly don't know anything about that...

Actually no, it's my example that would be translated into your form, so I
should have thought just a little more...

J.F. Dockes



More information about the xdg mailing list