|
Hi,
While upgrading from 3.1.5 to 3.2.0b3-020401, I
seem to have run into a wall.
htdig, htmerge, and htpurge all run without
reporting any errors (using -v), but whenever I try to launch htsearch from
within a perl program, I get the following error: WordDB: DB->cursor: method meaningless before open
From the output I got when calling it verbosely
from a shell prompt, it looks like it's parsing the query_string properly, but
I'm not sure whether it's actually using the proper conf file (the output
doesn't really seem to give a clue one way or another).
I tried searching the archived messages, but the
search function for the sourceforge lists doesn't seem to work at all, and the
search function on htdig.sourceforge.net points to non-existent documents (is
there anyplace where old list messages can still be searched and
read?)
Any suggestions what to try next?
Thanks!
-- Jeff
When I called it from the shell (all one
line):
*****************************************************************************
/www/htnew $cgi-bin/htsearch -v -d -c
conf/cni-res-1.conf
"sort=score&matchesperpage=10&method=and&page=1&words=engineer&format=long"
------------------------------------------------------------------------------------------------- Here's what I got:
tempWords: 'engineer:0 '
Boolean: 'engineer:0 ' initial: '' Fuzzy on: engineer exact engineer synonyms endings prefix word=engineer prefix_suffix=* prefix_suffix_length=1 minimum_prefix_length=1 searchWords: 'engineer:0 '
LogicalWords: engineer Pattern: engineer perform_push @0: engineer WordDB: DB->cursor: method meaningless before open score: empty list, push 0 @0 term:factor Content-type: text/html **********************************************************
The relevant lines from the conf file
cni-res-1.conf:
------------------------------------------------------------------------
database_dir:/www/htnew/db/cni/resumes
start_url: http://localhost/resumes/cni/1 database_base:${database_dir}/1db search_algorithm: exact:1 synonyms:0.5 endings:0.1
prefix:0.5
description_factor: 0 text_factor: 1 title_factor: 2 backlink_factor: 0 max_head_length: 10000
max_doc_size: 3000000 extra_word_characters: _+ external_parsers: application/msword /www/htnew/bin/parse_doc.pl \ application/rtf /www/htnew/bin/parse_doc.pl \ text/rtf /www/htnew/bin/parse_doc.pl \ application/postscript /www/htnew/bin/parse_doc.pl \ application/pdf /www/htnew/bin/parse_doc.pl limit_urls_to: ${start_url} maximum_pages: 100 search_results_header:
/www/htdig/common/hrsmart_header-jobs.html
search_results_footer: /www/htdig/common/hrsmart_footer-jobs.html template_map: Long long /www/htdig/common/hrsmart_result.html \ Short short /www/htdig/common/hrsmart_result-jobs.html \ idlist idlist /www/htdig/common/hrsmart_idlist-jobs.html \ tease tease /www/htdig/common/ht_tease.html template_name: long valid_extensions: .html .htm .txt .pdf .doc .rtf .shtml **************************************************************
A directory listing of /www/htnew/db/cni/resumes
(the database_dir):
--------------------------------------------------------------------------------------------------
-rw-r--r-- 1 nobody
nobody 172032 Feb 9 17:10
1db.docdb
-rw-r--r-- 1 nobody nobody 172032 Feb 9 17:10 1db.docdb.work -rw-r--r-- 1 nobody nobody 81920 Feb 9 17:10 1db.docs.index -rw-r--r-- 1 nobody nobody 81920 Feb 9 17:10 1db.docs.index.work -rw-r--r-- 1 nobody nobody 4423680 Feb 9 17:10 1db.excerpts -rw-r--r-- 1 nobody nobody 4423680 Feb 9 17:10 1db.excerpts.work -rw-r--r-- 1 nobody nobody 1389568 Feb 9 17:10 1db.words.db -rw-r--r-- 1 nobody nobody 1389568 Feb 9 17:10 1db.words.db.work -rw-r--r-- 1 nobody nobody 16384 Feb 9 16:46 1db.words.db.work_weakcmpr ****************************************************************
bin/htstat -v -a -c conf/cni-res-1.conf returns the
following:
--------------------------------------------------------------------------------
htstat: Total documents: 622 htstat: Total words: 252951 htstat: Total unique words: 32500 |
- Re: [htdig] WordDB: DB->cursor: method meaningless befo... Jeff
- Re: [htdig] WordDB: DB->cursor: method meaningless... Geoff Hutchison
- Re: [htdig] WordDB: DB->cursor: method meaningless... Dennis Director
- Re: [htdig] WordDB: DB->cursor: method meaning... Geoff Hutchison
- Re: [htdig] WordDB: DB->cursor: method meaningless... Jeff
- Re: [htdig] WordDB: DB->cursor: method meaningless... Geoff Hutchison

