Re: Aliases in notmuch queries

Subject: Re: Aliases in notmuch queries

Date: Sat, 20 Jul 2013 11:48:41 -0300

To: Suvayu Ali, Notmuch list

Cc:

From: David Bremner


Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> I'm not familiar with the notmuch code base at all, but I would like to
> help getting this feature in.  Do you have any hints where I should
> start looking?  Is there any background work that I could do?

I think the following pieces are needed:

1) Enable synonyms when opening the database

2) enable synonyms in the query parser

These first two should be covered in the xapian docs

3) load the synonyms from a file.
   - this needs some infrastructure, and some decisions about how to
   handle such configuration info.

4) add the synonyms (using db.add_synonym)

d

Thread: