[Wasabi Proposal] XML desktop query language

Mikkel Kamstrup Erlandsen mikkel.kamstrup at gmail.com
Mon Jan 15 06:08:27 PST 2007


2007/1/15, Jamie McCracken <jamiemcc at blueyonder.co.uk>:
>
> Few questions:
>
> for the search functions:
> fuzzy - is this a soundex type search?


Well "fuzzy" is not really well defined. Lucene defines it as Levenshtein
Distance, or Edit Distance. In the spec I think fuzzy should just mean "try
harder than stemming", so in my eyes soundex would be valid.

distance - not sure what this is?


Check if two words occur within a given distance (in words) of each other.

tracker also supports :
>
> 1) RegExp
> 2) StartsWith
> 3) LessThanOrEqual
> 4) GreaterOrEqual
>
> will the above be supported also or are they not commonly found in
> indexer systems?


Well, I think we need a poll or something :-)

StartsWith, <=, and >= should probably be standard (?),  I don't know about
regexp though... I don't think Lucene can do it for instance.

Maybe we need a base set of supported selectors, and then have optional ones
you can query with  a GetExtendedSelectors() method or something.

otherwise looking good :)


Super.

Another thing that is not covered in the current spec is what to do with
wildcards. Cheers,

Mikkel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/xdg/attachments/20070115/88dd217b/attachment.htm 


More information about the xdg mailing list