]> git.notmuchmail.org Git - notmuch/commitdiff
Split BOOLEAN_PREFIX into INTERNAL and EXTERNAL subsets.
authorCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 05:38:43 +0000 (22:38 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 05:38:43 +0000 (22:38 -0700)
The idea here is that only some of the prefix names (such as "id" and
"tag") actually make sense in external user-supplied query
strings. Other things like "type" are internal implementation details
of how we store things in the database. So internal machinery will add
those terms to the database and we don't need to support them in the
string itself.

With this, we can now simply loop over the external prefix values to
let the quiery parser know about them. So as we add prefixes in the
future, we'll only need to add them to this list.


No differences found