unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Info about notmuch database
@ 2012-01-04 15:49 boyska
  2012-01-05 15:04 ` Thomas Jost
  0 siblings, 1 reply; 10+ messages in thread
From: boyska @ 2012-01-04 15:49 UTC (permalink / raw)
  To: notmuch

Hello!
I like notmuch a lot, so I'm writing a (conceptually) similar software
about addressbook: it will scan all your emails, storing email 
addresses
in a xapian database (you can think of it as little brother database[1] 
on
steroids)
The part that I'd like to re-implement is "notmuch new": it seems that
in the xapian db there is not only informations about each mail, but
also the mtime of each directory. My impression is this being 
"chaotic",
but probably I am just missing the point.

So, here's the question: how is the db "structured"? is there any
documentation to look at?

[1] http://www.spinnaker.de/lbdb/

-- 
boyska
GPG: 0x520CE393

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Info about notmuch database
@ 2012-01-12  4:48 Bryant, Daniel B.
  0 siblings, 0 replies; 10+ messages in thread
From: Bryant, Daniel B. @ 2012-01-12  4:48 UTC (permalink / raw)
  To: 'notmuch@notmuchmail.org',
	'piuttosto@logorroici.org'


I currently use a little Vala utility that Sebastian Spaeth wrote in order to use what's already stored in the notmuch database as a simple addressbook. It's fast and works extremely well for me.

See the section "Address lookup while composing" at http://notmuchmail.org/emacstips/ for links to that and a couple other similar implementations.

Maybe one of these suits your needs or could be used as a starting point for the functionality you're trying to implement?

Dan

----- Original Message -----
From: notmuch-bounces@notmuchmail.org <notmuch-bounces@notmuchmail.org>
To: piuttosto@logorroici.org <piuttosto@logorroici.org>; notmuch@notmuchmail.org <notmuch@notmuchmail.org>
Sent: Wed Jan 11 23:26:42 2012
Subject: Re: Info about notmuch database

On Mon, 2 Jan 2012 17:04:17 +0100, piuttosto@logorroici.org wrote:
> I like notmuch a lot, so I'm writing a (conceptually) similar software
> about addressbook: it will scan all your emails, storing email addresses
> in a xapian database (you can think of it as little brother database[1] on
> steroids)
> The part that I'd like to re-implement is "notmuch new": it seems that
> in the xapian db there is not only informations about each mail, but
> also the mtime of each directory. My impression is this being "chaotic",
> but probably I am just missing the point.

Hi.  I think this is a neat idea.  However, it has be wondering: would
it be possible to just extend the notmuch database itself to support
this?  Could notmuch just index all the email addresses in such a way
that they would be easily retrievable?  Maybe through an "addresses" sub
command or something?  Obviously having notmuch handle this
functionality natively would get rid of the need to reinvent a lot of
the stuff you're trying to reinvent now (such as "notmuch new").

jamie.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Info about notmuch database
@ 2012-01-02 16:04 piuttosto
  2012-01-12  4:26 ` Jameson Graef Rollins
  0 siblings, 1 reply; 10+ messages in thread
From: piuttosto @ 2012-01-02 16:04 UTC (permalink / raw)
  To: notmuch

Hello!
I like notmuch a lot, so I'm writing a (conceptually) similar software
about addressbook: it will scan all your emails, storing email addresses
in a xapian database (you can think of it as little brother database[1] on
steroids)
The part that I'd like to re-implement is "notmuch new": it seems that
in the xapian db there is not only informations about each mail, but
also the mtime of each directory. My impression is this being "chaotic",
but probably I am just missing the point.

So, here's the question: how is the db "structured"? is there any
documentation to look at?

[1] http://www.spinnaker.de/lbdb/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-01-12  4:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-04 15:49 Info about notmuch database boyska
2012-01-05 15:04 ` Thomas Jost
2012-01-05 15:38   ` boyska
2012-01-05 16:35     ` Thomas Jost
2012-01-07 11:48       ` boyska
2012-01-08 12:59   ` Sebastian Spaeth
2012-01-08 14:34     ` Thomas Jost
  -- strict thread matches above, loose matches on Subject: below --
2012-01-12  4:48 Bryant, Daniel B.
2012-01-02 16:04 piuttosto
2012-01-12  4:26 ` Jameson Graef Rollins

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).