mu: support 'raw' query (internally)

Allow for passing 'raw' queries to xapian, without any parsing.
This commit is contained in:
djcb
2017-12-03 22:16:32 +02:00
parent f840d0deaa
commit 620912c62b
2 changed files with 29 additions and 28 deletions

View File

@ -70,7 +70,8 @@ typedef enum {
MU_QUERY_FLAG_SKIP_UNREADABLE = 1 << 1, /**< skip unreadable msgs */
MU_QUERY_FLAG_SKIP_DUPS = 1 << 2, /**< skip duplicate msgs */
MU_QUERY_FLAG_INCLUDE_RELATED = 1 << 3, /**< include related msgs */
MU_QUERY_FLAG_THREADS = 1 << 4 /**< calculate threading info */
MU_QUERY_FLAG_THREADS = 1 << 4, /**< calculate threading info */
MU_QUERY_FLAG_RAW = 1 << 5 /**< don't parse the query */
} MuQueryFlags;
/**