notmuch/lib
David Bremner 55524bb063 lib: regexp matching in 'subject' and 'from'
the idea is that you can run

% notmuch search subject:/<your-favourite-regexp>/
% notmuch search from:/<your-favourite-regexp>/

or

% notmuch search subject:"your usual phrase search"
% notmuch search from:"usual phrase search"

This feature is only available with recent Xapian, specifically
support for field processors is needed.

It should work with bindings, since it extends the query parser.

This is easy to extend for other value slots, but currently the only
value slots are date, message_id, from, subject, and last_mod. Date is
already searchable;  message_id is left for a followup commit.

This was originally written by Austin Clements, and ported to Xapian
field processors (from Austin's custom query parser) by yours truly.
2017-03-03 17:46:48 -04:00
..
built-with.c lib: add built_with handling for XAPIAN_DB_RETRY_LOCK 2016-06-29 09:05:49 +02:00
config.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
database-private.h lib: create field processors from prefix table 2017-03-03 07:15:13 -04:00
database.cc lib: regexp matching in 'subject' and 'from' 2017-03-03 17:46:48 -04:00
directory.cc lib: update cached mtime in notmuch_directory_set_mtime 2016-08-23 20:58:46 -03:00
filenames.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
gen-version-script.sh Use https instead of http where possible 2016-06-05 08:32:17 -03:00
index.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local lib: regexp matching in 'subject' and 'from' 2017-03-03 17:46:48 -04:00
message-file.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
message-private.h lib: basic message-property API 2016-09-21 18:14:24 -03:00
message-property.cc lib: iterator API for message properties 2016-09-21 18:14:25 -03:00
message.cc lib/message.cc: use view number to invalidate cached metadata 2017-02-25 21:15:38 -04:00
messages.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-private.h lib: add _notmuch_database_reopen 2017-02-25 21:09:17 -04:00
notmuch.h docs: fix notmuch_message_properties_value documentation 2017-01-15 14:25:00 -04:00
parse-time-vrp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
parse-time-vrp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query.cc lib: optimize counting documents 2017-01-27 21:54:44 -04:00
regexp-fields.cc lib: regexp matching in 'subject' and 'from' 2017-03-03 17:46:48 -04:00
regexp-fields.h lib: regexp matching in 'subject' and 'from' 2017-03-03 17:46:48 -04:00
sha1.c lib: use glib for sha1 digests instead of embedding libsha1 2017-01-08 10:50:38 -04:00
string-list.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
string-map.c lib: add talloc reference from string map iterator to map 2016-09-24 10:08:45 -03:00
tags.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
thread.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00