On Thu, 2008-05-08 at 11:07 -0400, Jamie McCracken wrote: > thats fine but rename "a" and ""b params to offset, count
Ok, shall I go ahead and already commit this in indexer-split branch, or do you think it's better for the people on the Xesam list to make some sort of decision about this DBus namespace? > On Thu, 2008-05-08 at 11:19 +0200, Philip Van Hoof wrote: > > Hey Jamie, > > > > About the Xesam discussion for range-searches, here's a patch that would > > add the remote API to the indexer-split branch. If there's some sort of > > OK from Mikkel I plan to commit this to the branch (or else adapt it to > > the proposed API). > > > > > > email message attachment, "Forwarded message - Re: [Xesam] Need paged > > search mode for xesam" > > > -------- Forwarded Message -------- > > > From: Philip Van Hoof <[EMAIL PROTECTED]> > > > To: Mikkel Kamstrup Erlandsen <[EMAIL PROTECTED]> > > > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] > > > Subject: Re: [Xesam] Need paged search mode for xesam > > > Date: Thu, 08 May 2008 11:15:14 +0200 > > > > > > On Wed, 2008-05-07 at 21:16 +0200, Mikkel Kamstrup Erlandsen wrote: > > > > 2008/5/7 Jamie McCracken <[EMAIL PROTECTED]>: > > > > > > > I think we would need: > > > > > > > GetPagedHits > > > > GetPagedHitData > > > > > > > to cover all use cases > > > > > > > > If there is more than one method needed for paging nirvana it begins > > > > to make sense to add a org.freedesktop.xesam.PagedSear > > > > ch interface to the spec. This can go in 1.1 (and if we can mature it > > > > fast enough it should not be a problem for Nokia to depend upon it > > > > before 1.1 is out). > > > > > > Here's a first proposal: > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > <node name="/org/freedesktop/xesam"> > > > <interface name="org.freedesktop.xesam.Search"> > > > ... > > > </interface> > > > > > > <interface name="org.freedesktop.xesam.PagedSearch"> > > > <method name="GetRangeHits"> > > > <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/> > > > <arg type="s" name="search" direction="in" /> > > > <arg type="u" name="a" direction="in" /> > > > <arg type="u" name="b" direction="in" /> > > > <arg type="aav" name="hits" direction="out" /> > > > </method> > > > > > > <method name="GetRangeHitData"> > > > <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/> > > > <arg type="s" name="search" direction="in" /> > > > <arg type="u" name="a" direction="in" /> > > > <arg type="u" name="b" direction="in" /> > > > <arg type="as" name="fields" direction="in" /> > > > <arg type="aav" name="hit_data" direction="out" /> > > > </method> > > > </interface> > > > </node> > > > > > > > > _______________________________________________ > > tracker-list mailing list > > tracker-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/tracker-list > > -- Philip Van Hoof, freelance software developer home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org http://pvanhoof.be/blog http://codeminded.be _______________________________________________ tracker-list mailing list tracker-list@gnome.org http://mail.gnome.org/mailman/listinfo/tracker-list