[Tracker] What's the fast method to get partial items after sorting.
- From: "Chen, Zhenqiang" <zhenqiang chen intel com>
- To: "'tracker-list gnome org'" <tracker-list gnome org>
- Subject: [Tracker] What's the fast method to get partial items after sorting.
- Date: Fri, 12 Mar 2010 15:03:43 +0800
I have lots of photos. I want to get
part of them after sorting. I use series
of queries like:
tracker-sparql -q "SELECT ?photo
WHERE{?photo a nmm:Photo} ORDER BY ASC(?photo) OFFSET 1000 LIMIT 100"
...
tracker-sparql -q "SELECT ?photo
WHERE{?photo a nmm:Photo} ORDER BY ASC(?photo) OFFSET 2000 LIMIT 100"
"Order" seams expensive in
tracker.
How to use index? What's the best way
to do it?
Thanks!
-Zhenqiang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]