From af85593c6eccc81c613282aab08fdac49a6e5d0d Mon Sep 17 00:00:00 2001 From: Robert Spalek Date: Mon, 17 Nov 2003 13:09:44 +0000 Subject: [PATCH] 1. db/catalog.gz ---> db/catalog + it is not sent to oook and feedback-cat via pipes, but it is read by them as a file + it is read in 2 passes and the URL's are identified in the 1st phase (catalog.c) 2. URL fingerprinting always uses cf/url-equiv, even in the indexer --- lib/index.h | 2 +- lib/urlkey.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/index.h b/lib/index.h index bb925742..a56d1e69 100644 --- a/lib/index.h +++ b/lib/index.h @@ -135,7 +135,7 @@ fp_hash(struct fingerprint *fp) #define URL_KEY_BUF_SIZE (3*MAX_URL_SIZE) byte *url_key(byte *url, byte *buf); void url_fingerprint(byte *url, struct fingerprint *fp); -void url_key_init(uns load_prefixes); +void url_key_init(void); /* Conversion of document age from seconds to our internal units */ diff --git a/lib/urlkey.c b/lib/urlkey.c index e6cc55d6..f0848015 100644 --- a/lib/urlkey.c +++ b/lib/urlkey.c @@ -229,10 +229,10 @@ static void CONSTRUCTOR urlkey_conf_init(void) } void -url_key_init(uns load_prefixes) +url_key_init(void) { pxtab_init(); - if (load_prefixes && urlkey_pxtab_path) + if (urlkey_pxtab_path) pxtab_load(urlkey_pxtab_path); } -- 2.39.2