]> git.cworth.org Git - sup/blob - bugs/issue-8a5cf9242ca60fa6c81091e425f734b4fb03e41a.yaml
Add a refine_search command to InboxMode
[sup] / bugs / issue-8a5cf9242ca60fa6c81091e425f734b4fb03e41a.yaml
1 --- !ditz.rubyforge.org,2008-03-06/issue 
2 title: index speedup
3 desc: |
4   I've just merged in a changeset that makes Sup store message body
5   content in the Ferret index. (They've always been indexed, but now
6   they're stored as well.) This means that changing the labels on a
7   message can be a copy operation of the previous Ferret document, rather
8   than requiring downloading and parsing the original message to create a
9   new Ferret document.
10   So, this should have two effects:
11   
12   1. The Ferret index size will expand by about 50%. Sorry.
13   2. Tweaking message labels should be much, much faster, since the
14   message no longer has to be downloaded from the source in order to
15   change the labels. If you've ever tried to label a large IMAP thread,
16   you no longer have to wait 5 minutes just to save. :)
17   
18   The index size increase is unfortunate, but it's something that has to
19   happen anyways if we want search-results-mode to have matching text in
20   the snippets, which is in the future TODO.
21   
22   The change was made in such a way that it's incrementally applied
23   whenever a message is saved or changed in the Ferret index. So, if you
24   want the above behavior on all messages immediately, you must do
25   sup-sync --all on a source (which will require downloading each
26   message). Otherwise, you will get the slow behavior (message body needs
27   to be downloaded from the source) the first time you save a message
28   after merging this change, and the fast behavior (no downloading
29   required) on all subsequent times.
30
31 type: :feature
32 component: indexing
33 release: "0.5"
34 reporter: William Morgan <wmorgan-sup@masanjin.net>
35 status: :closed
36 disposition: :fixed
37 creation_time: 2008-03-07 02:48:23.885656 Z
38 references: []
39
40 id: 8a5cf9242ca60fa6c81091e425f734b4fb03e41a
41 log_events: 
42 - - 2008-03-07 02:48:23.885693 Z
43   - William Morgan <wmorgan-sup@masanjin.net>
44   - created
45   - ""
46 - - 2008-03-07 02:48:50.979828 Z
47   - William Morgan <wmorgan-sup@masanjin.net>
48   - changed status from unstarted to in_progress
49   - ""
50 - - 2008-04-20 22:10:33.970635 Z
51   - William Morgan <wmorgan-sup@masanjin.net>
52   - closed issue with disposition fixed
53   - ""