<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch-search.c, branch 0.3</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.3</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.3'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2010-04-24T00:53:52Z</updated>
<entry>
<title>removed unused variables</title>
<updated>2010-04-24T00:53:52Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>hohndel@infradead.org</email>
</author>
<published>2010-04-23T03:26:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6ddc2e04424be6c1ff97c5929f9c8ce9efd46960'/>
<id>urn:sha1:6ddc2e04424be6c1ff97c5929f9c8ce9efd46960</id>
<content type='text'>
trivial compiler warning fix

Signed-off-by: Dirk Hohndel &lt;hohndel@infradead.org&gt;
</content>
</entry>
<entry>
<title>notmuch search: Fix timezone of timestamp in --format=json output</title>
<updated>2010-04-23T00:12:07Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-23T00:06:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e6e0cb942c24cff55778731ac53e1b737044f84a'/>
<id>urn:sha1:e6e0cb942c24cff55778731ac53e1b737044f84a</id>
<content type='text'>
This is one of those cases that I move love. Deleting code fixes
a bug, (test suite now passes again).
</content>
</entry>
<entry>
<title>lib: Rename iterator functions to prepare for reverse iteration.</title>
<updated>2010-03-09T17:22:29Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-03-09T17:22:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4e5d2f22db290a830c0267f34b519c6138af00ed'/>
<id>urn:sha1:4e5d2f22db290a830c0267f34b519c6138af00ed</id>
<content type='text'>
We rename 'has_more' to 'valid' so that it can function whether
iterating in a forward or reverse direction. We also rename
'advance' to 'move_to_next' to setup parallel naming with
the proposed functions 'move_to_first', 'move_to_last', and
'move_to_previous'.
</content>
</entry>
<entry>
<title>notmuch search: Use "thread" rather than "id" when formatting with JSON</title>
<updated>2010-02-23T20:50:46Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-02-23T20:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5171831813716fa09e64d37a9d6f6ba4fc418c5b'/>
<id>urn:sha1:5171831813716fa09e64d37a9d6f6ba4fc418c5b</id>
<content type='text'>
The text output uses thread:&lt;foo&gt;, (which is a syntax directly supported
by "notmuch show"), so make the json output be "thread", "&lt;foo&gt;" rather
than "id", "&lt;foo&gt;". This should help avoid confusion of thread IDs with
message IDs, (which do use the "id" prefix in searches).
</content>
</entry>
<entry>
<title>Add an "--format=(json|text)" command-line option to both notmuch-search and notmuch-show.</title>
<updated>2010-02-23T20:01:12Z</updated>
<author>
<name>Scott Robinson</name>
<email>scott@quadhome.com</email>
</author>
<published>2009-12-31T15:17:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6ce2bf68f53fec4302121763e588c33c7cd86a9c'/>
<id>urn:sha1:6ce2bf68f53fec4302121763e588c33c7cd86a9c</id>
<content type='text'>
In the case of notmuch-show, "--format=json" also implies
"--entire-thread" as the thread structure is implicit in the emitted
document tree.

As a coincidence to the implementation, multipart message ID numbers are
now incremented with each part printed. This changes the previous
semantics, which were unclear and not necessary related to the actual
ordering of the message parts.
</content>
</entry>
<entry>
<title>notmuch search: Remove the chunked-searching hack.</title>
<updated>2009-11-24T04:17:37Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2009-11-24T04:12:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1fd8b7866f189a66e4491b01452f476371759f91'/>
<id>urn:sha1:1fd8b7866f189a66e4491b01452f476371759f91</id>
<content type='text'>
This was a poor workaround around the fact that the existing
notmuch_threads_t object is implemented poorly. It's got a fine
iterartor-based interface, but the implementation does all of the
work up-front in _create rather than doing the work incrementally
while iterating.

So to start fixing this, first get rid of all the hacks we had working
around this. This drops the --first and --max-threads options from the
search command, (but hopefully nobody was using them
anyway---notmuch.el certainly wasn't).
</content>
</entry>
<entry>
<title>search : Extend "intial burst" optimization to return all results by chunks</title>
<updated>2009-11-23T17:14:47Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2009-11-23T16:42:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bc0a873b18cd77572c53369e5899134102f93e5e'/>
<id>urn:sha1:bc0a873b18cd77572c53369e5899134102f93e5e</id>
<content type='text'>
This way, the user gets a steady (but bursty) stream of reults. We
double the chunk size each time since each successive chunk has to
redo work from all previous chunks.

Of course, the overall time is thereby slower, as the price we pay for
increased responsiveness. With a search returning about 17000 thread
results I measured a total time of 48.8 seconds before this change and
58.4 seconds afterwards.
</content>
</entry>
<entry>
<title>Rename NOTMUCH_DATABASE_MODE_WRITABLE to NOTMUCH_DATABASE_MODE_READ_WRITE</title>
<updated>2009-11-21T21:10:18Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2009-11-21T21:10:18Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=637f99d8f3f45867d0a856503f9f302333824c07'/>
<id>urn:sha1:637f99d8f3f45867d0a856503f9f302333824c07</id>
<content type='text'>
And correspondingly, READONLY to READ_ONLY.
</content>
</entry>
<entry>
<title>Permit opening the notmuch database in read-only mode.</title>
<updated>2009-11-21T21:04:49Z</updated>
<author>
<name>Chris Wilson</name>
<email>chris@chris-wilson.co.uk</email>
</author>
<published>2009-11-21T19:54:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f379aa52845f5594aa6cc2e7cf131d5f57202bbf'/>
<id>urn:sha1:f379aa52845f5594aa6cc2e7cf131d5f57202bbf</id>
<content type='text'>
We only rarely need to actually open the database for writing, but we
always create a Xapian::WritableDatabase. This has the effect of
preventing searches and like whilst updating the index.

Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Acked-by: Carl Worth &lt;cworth@cworth.org&gt;
</content>
</entry>
<entry>
<title>notmuch search: Avoid infinite stream of exceptions from "notmuch search"</title>
<updated>2009-11-18T11:29:30Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2009-11-18T11:29:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=306635c27d1ca46a51d354235f3e0c6ec4b65de6'/>
<id>urn:sha1:306635c27d1ca46a51d354235f3e0c6ec4b65de6</id>
<content type='text'>
That is, give a nice error message and exit if no search terms are
provided. Thanks to Priit Laes &lt;plaes@plaes.org&gt; for reporting the
error and providing an early version of the fix.
</content>
</entry>
</feed>
