simple search api (was Re: mimetype standardisation by testsets)
joeshaw at novell.com
Mon Nov 27 22:37:17 EET 2006
On Mon, 2006-11-27 at 20:39 +0100, Jos van den Oever wrote:
> I'm fine with an additional query function. I avoided this in the
> first place because the return message would become rather big. How
> method queryDetailed ( in s query, in i offset, in i limit , out
> a(sa(sas)) hits )
> Perform a query and return a list of URIs that match the query.
> The query being performed.
> The offset in the result list for the first returned result.
> The maximum number of results that should be returned.
> A list if URIs with properties that are the result of the query.
> How about adding the matching text fragment? This should also be a
> a(sas) because the hits may occur in different fields.
We use a separate API for text fragments in Beagle because extracting
them is extremely slow. I would recommend against it in the query API.
More information about the xdg