Home
last modified time | relevance | path

Searched refs:indexlevel (Results 1 – 8 of 8) sorted by relevance

/dports/mail/cyrus-imapd34/cyrus-imapd-3.4.2/imap/
H A Dsearch_engines.c241 uint8_t indexlevel = rx->is_indexed(rx, msg); in search_update_mailbox() local
242 if ((reindex_partials && (indexlevel & SEARCH_INDEXLEVEL_PARTIAL)) || in search_update_mailbox()
243 (min_indexlevel && indexlevel < min_indexlevel)) { in search_update_mailbox()
245 indexlevel = 0; in search_update_mailbox()
248 if (!indexlevel) in search_update_mailbox()
H A Dxapian_wrap.cpp458 uint8_t indexlevel = parse_indexlevel(tags[0]); in resolve_duplicate_metadata() local
463 indexlevel = level; in resolve_duplicate_metadata()
1233 EXPORTED int xapian_dbw_end_doc(xapian_dbw_t *dbw, uint8_t indexlevel) in xapian_dbw_end_doc() argument
1237 assert(indexlevel > 0); in xapian_dbw_end_doc()
1269 format_indexlevel(indexlevel)); in xapian_dbw_end_doc()
1312 if (indexlevel == SEARCH_INDEXLEVEL_BEST || in xapian_dbw_is_indexed()
1313 (indexlevel && doctype == XAPIAN_WRAP_DOCTYPE_PART)) { in xapian_dbw_is_indexed()
1314 return indexlevel; in xapian_dbw_is_indexed()
1325 else indexlevel = better_indexlevel(indexlevel, level); in xapian_dbw_is_indexed()
1328 return indexlevel; in xapian_dbw_is_indexed()
[all …]
H A Dxapian_wrap.h75 extern int xapian_dbw_end_doc(xapian_dbw_t *dbw, uint8_t indexlevel);
H A Dsearch_engines.h135 int (*end_message)(search_text_receiver_t *, uint8_t indexlevel);
H A Dsearch_xapian.c2349 uint8_t indexlevel = xapian_dbw_is_indexed(tr->dbw, guid, XAPIAN_WRAP_DOCTYPE_MSG); in audit_mailbox() local
2350 if (indexlevel == 0 || (indexlevel & SEARCH_INDEXLEVEL_PARTIAL)) { in audit_mailbox()
2509 static int end_message_update(search_text_receiver_t *rx, uint8_t indexlevel) in end_message_update() argument
2537 r = xapian_dbw_end_doc(tr->dbw, indexlevel); in end_message_update()
3081 uint8_t indexlevel __attribute__((unused))) in end_message_snippets() argument
3492 uint8_t indexlevel = is_indexed((search_text_receiver_t *)tr, msg); in reindex_mb() local
3493 if (indexlevel == 0 || ((indexlevel & SEARCH_INDEXLEVEL_PARTIAL) && !allow_partials)) { in reindex_mb()
H A Djmap_mail_query.c431 static int _matchmime_tr_end_message(search_text_receiver_t *rx, uint8_t indexlevel) in _matchmime_tr_end_message() argument
434 return xapian_dbw_end_doc(tr->dbw, indexlevel); in _matchmime_tr_end_message()
H A Dsearch_squat.c701 uint8_t indexlevel __attribute__((unused))) in end_message() argument
H A Dindex.c5047 uint8_t indexlevel; member
5749 str->indexlevel = 1; in getsearchtext_cb()
5757 str->indexlevel |= SEARCH_INDEXLEVEL_PARTIAL; in getsearchtext_cb()
5884 str.indexlevel = SEARCH_INDEXLEVEL_ATTACH; // may get downgraded in callback in index_getsearchtext()
5991 r = receiver->end_message(receiver, str.indexlevel); in index_getsearchtext()
5994 if (!r && (str.indexlevel & SEARCH_INDEXLEVEL_PARTIAL)) { in index_getsearchtext()