Re: [Tracker] What's the fast method to get partial items after sorting.
- From: "Chen, Zhenqiang" <zhenqiang chen intel com>
- To: "'debarshi ray gmail com'" <debarshi ray gmail com>, 'Ivan Frade' <ivan frade gmail com>
- Cc: "'tracker-list gnome org'" <tracker-list gnome org>
- Subject: Re: [Tracker] What's the fast method to get partial items after sorting.
- Date: Mon, 15 Mar 2010 17:10:56 +0800
These should be:
SELECT nie:url(?photo) WHERE {?photo a nmm:Photo} ORDER BY ...
Yes. For photo, I need the url. For music, I need the artist name. The queries are like:
SELECT nie:url(?photo) WHERE {?photo a nmm:Photo} ORDER BY nie:url(?photo)
SELECT nmm:artistName(?artist) WHERE {?song a nmm:MusicPiece . OPTIONAL {?song nmm:performer ?artist} } GROUP
by ?artist ORDER by nmm:artistName(?artist)
It takes too much time to load all items one time. So I expect to load part of them step by step. And I do
not expect tracker to sort for each query with OFFSET and LIMIT.
Thanks!
-Zhenqiang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]