[Sugar-devel] Searching for datastore entries by title

Bert Freudenberg bert at freudenbergs.de
Wed Sep 16 08:50:13 EDT 2009


On 16.09.2009, at 14:40, Tomeu Vizoso wrote:

> On Wed, Sep 16, 2009 at 14:22, Bert Freudenberg  
> <bert at freudenbergs.de> wrote:
>> On 16.09.2009, at 14:11, Tomeu Vizoso wrote:
>>
>>> Right now we only index what the journal needs, see the _PREFIX_
>>> constants below:
>>>
>>>
>>> http://git.sugarlabs.org/projects/sugar-datastore/repos/mainline/blobs/master/src/carquinyol/indexstore.py#line32
>>
>>
>> That's good info. Can you say in which version this was introduced?
>
> That's 0.86, in 0.84 we had this:
>
> http://git.sugarlabs.org/projects/sugar-datastore/repos/mainline/blobs/sucrose-0.84/src/carquinyol/indexstore.py#line30

... which is roughly the same?

>> Also, this specifies the supported sort options:
>>
>> http://git.sugarlabs.org/projects/sugar-datastore/repos/mainline/blobs/master/src/carquinyol/indexstore.py#line266
>
> Yes, only in 0.86.

Do you mean there was no sorting in 0.84, or it was not limited?

>> Will update docs ...
>
> Thanks a lot

Done: http://wiki.laptop.org/go/Low-level_Activity_API#Querying

- Bert -




More information about the Sugar-devel mailing list