Re: [Tracker] What's the fast method to get partial items after sorting.



On 12/03/10 07:03, Chen, Zhenqiang wrote:
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?

Hello,

What information exactly do you want from the photos?

--
Regards,
Martyn



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]