Question on Xesam capabilities

Evgeny Egorochkin phreedom.stdin at
Fri Aug 10 04:06:02 PDT 2007

On Friday 10 August 2007 13:25:09 Luca Dionisi wrote:
> Is it possible with the Xesam API to "search within results"
> à la Google or even better?
> I mean, will I be able, with a Xesam compliant search tool,
> to do things like the following?
> - search all files of type development (*.c; *.h; *.java; ...)
> - within result set, search for  files containing some text
>   e.g. "implements"
> - within new result set, search for  files containing some
>   other text, e.g. "get_width ("

This is easily implemented on the client side by ANDing the 1st, 2nd etc 

> - hilight the words that match the last search, and not
>   the words used for previous filtering stages.

We don't have to provisions for this. Maybe a good idea.

> And could I expect fast results as for a classic query
> with a indexed search engine?

It depends on the indexer, files indexed, query complexity etc. You can expect 
the speed to be comparable.

-- Evgeny

More information about the xdg mailing list