]> mj.ucw.cz Git - libucw.git/commitdiff
- giant class flag moved from attributes to card-notes
authorRobert Spalek <robert@ucw.cz>
Mon, 3 Nov 2003 14:35:50 +0000 (14:35 +0000)
committerRobert Spalek <robert@ucw.cz>
Mon, 3 Nov 2003 14:35:50 +0000 (14:35 +0000)
- merger only marks documents by giant flag and
  the penalization is done in chewer
- added new weight attribute to cards: Wp means weight after penalization
  added penalization notes in the form .Pg-50 (giant class penalized by -50)
- chewer.c: card_write_start() does NOT write struct card_attr and it needs
  to be done manually later
- chewer.c: weight records are sorted chronologically, I like it more :-)

lib/index.h

index c997731e58d4cb46c7804a6a87571bd85927f1d3..a56d1e694ae6c8d7f8fcdf230898d588818eb64a 100644 (file)
@@ -79,7 +79,6 @@ enum card_flag {
   CARD_FLAG_MERGED = 8,                        /* Destination of a merge [merger] */
   CARD_FLAG_IMAGE = 16,                        /* Is an image object [scanner] */
   CARD_FLAG_FRAMESET = 32,             /* Contains a frameset to be ignored [scanner] */
-  CARD_FLAG_GIANT_CLASS = 64,          /* Belongs to a very large class, subject to penalties [merger] */
 };
 
 #define CARD_POS_SHIFT 5               /* Card positions are shifted this # of bits to the right */