simple search api (was Re: mimetype standardisation by testsets)

Joe Shaw joeshaw at novell.com
Mon Nov 27 22:32:13 EET 2006


Hi,

On Sun, 2006-11-26 at 15:48 +0100, Jean-Francois Dockes wrote:
> - About the query language, and just for the record, the syntax described
>   on WasabiDraft is more the one from Beagle than the one from Lucene
>   (which defaults to ORing, not ANDing the terms I think). This is probably
>   and appropriately more intuitive for end-users. 

Yeah, it's been my experience that the Lucene query language is useless
in terms of being actually useful to end users, which is why we rolled
our own.  (And believe me, considering how much I hate parsing text, we
wouldn't have done it if it weren't completely necessary.)

> PS: about Beagle and XML. There was a question about this somewhere, so I
> had a look this morning. From what I could see, XML is used only
> implicitely in Beagle as the serialization form for communication between
> the front-end and the beagled daemon. As this kind of serialization is
> supported directly by the standard C# libraries, it's more or less
> transparent. The libbeagle C front-end library has to generate and parse
> the XML "by hand". 

This is totally accurate.

> I don't think that there is anything else than this
> ad-hoc use of XML, and I didn't see anything ressembling a document
> definition anywhere.

There isn't, although I could post some examples of the generated XML if
people are interested.

Joe





More information about the xdg mailing list