* support single dates (shortcut for ranges) in queries (thanks to Eygene Ryabinkin)

This commit is contained in:
djcb
2012-11-17 21:25:09 +02:00
parent e80050ec31
commit ef1791ec7c
4 changed files with 207 additions and 0 deletions

View File

@ -325,6 +325,10 @@ mu_query_preprocess (const char *query, GError **err)
* xapian-pfx with '_' */
cur->data = mu_str_xapian_escape (data, TRUE, NULL);
g_free (data);
/* run term fixups */
data = (gchar*)cur->data;
cur->data = mu_str_xapian_fixup_terms (data);
g_free (data);
}
myquery = mu_str_from_list (parts, ' ');