* updates for MU_QUERY_FLAG_THREADS in mu_query_run users

This commit is contained in:
djcb
2012-12-27 11:09:37 +02:00
parent c6a4e8f9ad
commit afc1258c10
3 changed files with 11 additions and 3 deletions

View File

@ -129,6 +129,8 @@ run_query (MuQuery *xapian, const gchar *query, MuConfig *opts, GError **err)
qflags |= MU_QUERY_FLAG_SKIP_DUPS;
if (opts->include_related)
qflags |= MU_QUERY_FLAG_INCLUDE_RELATED;
if (opts->threads)
qflags |= MU_QUERY_FLAG_THREADS;
iter = mu_query_run (xapian, query, sortid, -1, qflags, err);
return iter;