[Sugar-devel] Searching for datastore entries by title
    Tomeu Vizoso 
    tomeu at sugarlabs.org
       
    Wed Sep 16 08:53:47 EDT 2009
    
    
  
On Wed, Sep 16, 2009 at 14:50, Bert Freudenberg <bert at freudenbergs.de> wrote:
> 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?
Oops, you are right, no terms were added in 0.86.
>>> 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?
Results were always sorted by inverse date, there was no way to sort
in other way.
Regards,
Tomeu
>>> Will update docs ...
>>
>> Thanks a lot
>
> Done: http://wiki.laptop.org/go/Low-level_Activity_API#Querying
>
> - Bert -
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
    
    
More information about the Sugar-devel
mailing list