From: Martin Mares Date: Fri, 16 Feb 2001 16:16:25 +0000 (+0000) Subject: Scanner improvements: create redirect backlinks, detect empty documents, X-Git-Tag: holmes-import~1553 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=fc8b63ca2931618a8f0b72151e5739cc8dc561e8;p=libucw.git Scanner improvements: create redirect backlinks, detect empty documents, mark accented documents. --- diff --git a/lib/index.h b/lib/index.h index f2b49160..8da94ac5 100644 --- a/lib/index.h +++ b/lib/index.h @@ -29,7 +29,13 @@ struct card_attr { u32 card; /* Reference to card description (either oid or filepos) */ u32 site_id; byte weight; - byte rfu[3]; + byte flags; + byte rfu[2]; +}; + +enum card_flag { + CARD_FLAG_EMPTY = 1, /* Empty document (redirect, robot file etc.) */ + CARD_FLAG_ACCENTED = 2 /* Document contains accented characters */ }; /* String fingerprints */