Thanks for these - I will look at them in the next few days. Im not sure about second one either - I guess I need to confirm with rest of tracker team how to handle field specific searches
jamie On Mon, 2009-11-02 at 16:02 +0100, Juan A. Suarez Romero wrote: > Hello all! > > I've been working on a couple of improvements for t-s-t. > > 1. I've noticed everytime you type a new letter in the entry box, a new > search is performed in tracker. I think this is not very efficient, as user > may want to look for a longer word, and intermediate searches are not useful > at all. So this first patch only performs a search if 500ms passes by without > typing any text. > > 2. The second patch allows to restrict searching to a specific path. This is > done using special key 'path:' in the entry search. As example, entering > 'offspring path:/home/user/MyMusic' will perform a search within > /home/user/MyMusic. As it can be seen, this approach could be extendend in > future with new keys and combinations. > > While the first are quite interesting, not sure for the second one. I mean, I > think it's useful, but I'm not sure if the choosen approach is the best one. > The good part is that it can be extended to other keys, besides path. > > J.A. > > --- > > Juan A. Suarez Romero (2): > tracker-search-tool: delay 500ms before querying tracker > tracker-search-tool: allow restrict search to a path > > src/tracker-search-tool/tracker-entry.gs | 24 +++++++++++++++++++----- > src/tracker-search-tool/tracker-query.gs | 20 ++++++++++++++++++-- > src/tracker-search-tool/tracker-utils.gs | 28 ++++++++++++++++++++++------ > 3 files changed, 59 insertions(+), 13 deletions(-) > > _______________________________________________ > tracker-list mailing list > tracker-list@gnome.org > http://mail.gnome.org/mailman/listinfo/tracker-list _______________________________________________ tracker-list mailing list tracker-list@gnome.org http://mail.gnome.org/mailman/listinfo/tracker-list