From fc8b63ca2931618a8f0b72151e5739cc8dc561e8 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 16 Feb 2001 16:16:25 +0000 Subject: [PATCH] Scanner improvements: create redirect backlinks, detect empty documents, mark accented documents. --- lib/index.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 */ -- 2.39.2