[Sugar-devel] Journal feature request--more data in main display

Tomeu Vizoso tomeu at sugarlabs.org
Mon Jul 6 04:48:11 EDT 2009


On Sat, Jul 4, 2009 at 17:55, Gary C Martin<gary at garycmartin.com> wrote:
> On 4 Jul 2009, at 09:56, Tomeu Vizoso wrote:
>
>> On Sat, Jul 4, 2009 at 05:19, Eben Eliason<eben at laptop.org> wrote:
>>>
>>> It sounds like you're describing a NOT filter (eg. kind:text NOT
>>> activity:terminal), though, which the current UI doesn't support, as
>>> all of the filter options are combined with an AND. I think adding
>>> boolean AND/OR/NOT controls to the filter UI would definitely
>>> complicate things too much, but we could again support these kinds of
>>> queries within the search field.
>>
>> Btw, we currently support this query format:
>> http://xapian.org/docs/queryparser.html
>
> Hey cool thanks for the link – I didn't realise how much was silently
> supported! The most I had been using was the occasional phrase search with
> double quotes.
>
> Just to confirm; I take it that Xapians prefix maps haven't been used so far
> in the Journal index implementation (i.e. title:Paint,  description:meeting,
> or tags:homework)? Point me at rep Sugar source if that's quicker (not sure
> where to look to check this).

That's not implemented as of yet, though I don't see any hurdle right
now. What I should warn about is that the more information we give to
xapian, the more sophisticated stuff it can do; but it will have a
cost in disk space usage and may slow some operations.

Regards,

Tomeu


More information about the Sugar-devel mailing list