[KinoSearch] Help: XML Query

Nathan Kurz nate at verse.com
Thu Aug 9 02:26:22 PDT 2007



On 8/8/07, Ermias Abebe <ermiasabe at gmail.com> wrote:
>  I would appreciate if someone tells me if it is possible to provide an XML
> formatted query to Kinosearch. Is there an existing implementation for this?
> If I have to implemnet it myself, I would also be happy to get some pointers
> (like where to start, etc).

There is no built in way of doing this.  It is possible that someone
might have a private version to offer, but it shouldn't be too hard to
make it work on your own.  The primary code you should start looking
at would be in "perl/lib/KinoSearch/QueryParser.pm".

Depending on your exact needs, though, I would seriously consider just
writing a layer to translate the XML query into the existing query
syntax.  If the queries you are considering can be expressed as a
parenthesized boolean expression, this would certainly be the simplest
solution, and likely easiest to maintain.

Nathan Kurz
nate at verse.com

_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch




More information about the kinosearch mailing list