Aliases in notmuch queries

David Bremner david at tethera.net
Sat Jul 20 07:48:41 PDT 2013


Suvayu Ali <fatkasuvayu+linux at 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


More information about the notmuch mailing list