Hi there --
I reset the debugging level to include all options, and I shown the results
listed in the error_log file from the subsequent query. Sorry about the
length of information...
[Fri Jun 4 15:03:19 2004] [notice] caught SIGTERM, shutting down
[Fri Jun 4 15:03:20 2004] [warn] module mod_php4.c is already added,
skipping
[Fri Jun 4 15:03:20 2004] [notice] Apache/1.3.31 (Unix) PHP/4.3.7
configured -- resuming normal operations
[Fri Jun 4 15:03:20 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
Debug level set to: 95 [basic, command, headers, output, summary, dump]
Config file '.swishcgi.conf': No such file or directory at
/usr/local/apache/cgi-bin/swish.cgi line 657.
swish.cgi: no results
------------- Index Headers ------------
No headers
--------------------------
------------- Results structure passed to template ------------
$VAR1 = bless( {
'swish_command' => {},
'DateRanges_time_high' => undef,
'prog' => '/usr/local/bin/swish-e',
'DateRanges_time_low' => undef,
'hits' => 0,
'q' => bless( {
'.parameters' => [
'query'
],
'.charset' => 'ISO-8859-1',
'query' => [
''
],
'.fieldnames' => {}
}, 'CGI' ),
'config' => {
'max_chars' => 500,
'secondary_sort' => [
'swishlastmodified',
'desc'
],
'max_query_length' => 100,
'num_pages_to_show' => 12,
'meta_groups' => {
'all' => [
'swishdefault',
'swishtitle',
'swishdocpath'
]
},
'swish_index' => '/www/index.swish-e',
'config_file' => '.swishcgi.conf',
'debug_options' => 'basic, command, headers,
output, summary, dump',
'date_ranges' => {
'line_break' => 0,
'property_name' =>
'swishlastmodified',
'date_range' => 1,
'time_periods' => [
'All',
'Today',
'Yesterday',
'This
Week',
'Last
Week',
'Last
90 Days',
'This
Month',
'Last
Month'
],
'default' => 'All'
},
'on_intranet' => 0,
'timeout' => 10,
'debug' => 95,
'metanames' => [
'swishdefault',
'swishtitle',
'swishdocpath'
],
'highlight' => {
'highlight_on' => '<font
style="background:#FFFF99">',
'max_words' => 100,
'show_words' => 10,
'highlight_off' =>
'</font>',
'occurrences' => 6,
'meta_to_prop_map' => {
'swishdocpath' => [
'swishdocpath'
],
'swishtitle' => [
'swishtitle'
],
'swishdefault' => [
'swishtitle',
'swishdescription'
]
},
'package' =>
'SWISH::PhraseHighlight'
},
'sorts' => [
'swishrank',
'swishlastmodified',
'swishtitle',
'swishdocpath'
],
'display_props' => [
'swishlastmodified',
'swishdocsize',
'swishdocpath'
],
'ps_prog' => '/bin/ps -Unobody -ocommand',
'swish_binary' => '/usr/local/bin/swish-e',
'Xselect_indexes' => {
'columns' => 3,
'method' =>
'checkbox_group',
'description' =>
'Select Site: ',
'labels' => [
'Main
Index',
'Other
Index',
'two',
'three',
'four'
],
'default_index' => ''
},
'description_prop' => 'swishdescription',
'limit_procs' => 0,
'page_size' => 15,
'no_first_page_navigation' => 0,
'xtemplate' => {
'options' => {
'loop_context_vars' => 1,
'filename' =>
'swish.tmpl',
'path' =>
'/usr/local/share/swish-e',
'die_on_bad_params' => 0,
'cache' => 1
},
'package' =>
'SWISH::TemplateHTMLTemplate'
},
'title_property' => 'swishtitle',
'Xselect_by_meta' => {
'columns' => 3,
'values' => [
'misc',
'mod',
'vhosts',
'other'
],
'method' =>
'checkbox_group',
'description' =>
'Limit search to these areas: ',
'labels' => {
'vhosts'
=> 'Virutal hosts',
'misc'
=> 'General Apache docs',
'mod' =>
'Apache Modules'
},
'metaname' => 'site'
},
'title' => 'Radiation Oncology Clinical
KnowledgeBase',
'link_property' => 'swishdocpath',
'no_last_page_navigation' => 0,
'name_labels' => {
'swishdocpath' =>
'Document Path',
'swishlastmodified' =>
'Last Modified Date',
'swishrank' => 'Rank',
'subject' => 'Message
Subject',
'name' => 'Poster\'s
Name',
'all' => 'All',
'email' => 'Poster\'s
Email',
'swishtitle' => 'Title',
'swishdocsize' =>
'Document Size',
'swishdefault' => 'Title &
Body',
'sent' => 'Message Date'
}
},
'query_simple' => '',
'MOD_PERL' => undef
}, 'SwishQuery' );
--------------------------
Debug level set to: 95 [basic, command, headers, output, summary, dump]
Config file '.swishcgi.conf': No such file or directory at
/usr/local/apache/cgi-bin/swish.cgi line 657.
---- Swish parameters ----
$VAR1 = {
'-H' => 9,
'-w' => 'swishdefault=(Head)',
'-s' => [
'swishrank',
'desc',
'swishlastmodified',
'desc'
],
'-m' => 15,
'-x' =>
'<swishreccount>\\t<swishtitle>\\t<swishdescription>\\t<swishlastmodified>\\
t<swishdocsize>\\t<swishdocpath>\\t<swishdocpath>\\t<swishrank>\\n',
'-f' => '/www/index.swish-e',
'-b' => 1
};
-----------------------------------------------
# SWISH format: 2.4.2
# Search words: swishdefault=(Head)
#
# Index File: /www/index.swish-e
# Name:
# Saved as: index.swish-e
# Total Words: 292
# Total Files: 14
# Indexed on: 2004-06-04 13:48:45 UTC
# Description:
# Pointer:
# Maintained by:
# MinWordLimit: 1
# MaxWordLimit: 40
# WordCharacters:
0123456789abcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäå
æçèéêëìíîïðñòóôõöøùúûüýþÿ
# BeginCharacters:
0123456789abcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäå
æçèéêëìíîïðñòóôõöøùúûüýþÿ
# EndCharacters:
0123456789abcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäå
æçèéêëìíîïðñòóôõöøùúûüýþÿ
# IgnoreFirstChar:
# IgnoreLastChar:
# StopWords:
# BuzzWords:
# Stemming Applied: 0
# Soundex Applied: 0
# Fuzzy Mode: None
# IgnoreTotalWordCountWhenRanking: 1
# Search words: swishdefault=(Head)
# Parsed Words: swishdefault = ( head )
# Removed stopwords:
#
err: no results
swish.cgi: no results
------------- Index Headers ------------
$VAR1 = {
'ignoretotalwordcountwhenranking' => '1',
'endcharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãä
åæçèéêëìíîïðñòóôõöøùúûüýþÿ',
'wordcharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãä
åæçèéêëìíîïðñòóôõöøùúûüýþÿ',
'stemming applied' => '0',
'indexed on' => '2004-06-04 13:48:45 UTC',
'minwordlimit' => '1',
'saved as' => 'index.swish-e',
'soundex applied' => '0',
'search words' => 'swishdefault=(Head)',
'total words' => '292',
'begincharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãä
åæçèéêëìíîïðñòóôõöøùúûüýþÿ',
'maxwordlimit' => '40',
'fuzzy mode' => 'None',
'swish format' => '2.4.2',
'index file' => '/www/index.swish-e',
'parsed words' => 'swishdefault = ( head ) ',
'total files' => '14'
};
--------------------------
------------- Results structure passed to template ------------
$VAR1 = bless( {
'swish_command' => {
'-H' => 9,
'-w' => 'swishdefault=(Head)',
'-s' => [
'swishrank',
'desc',
'swishlastmodified',
'desc'
],
'-m' => 15,
'-x' =>
'<swishreccount>\\t<swishtitle>\\t<swishdescription>\\t<swishlastmodified>\\
t<swishdocsize>\\t<swishdocpath>\\t<swishdocpath>\\t<swishrank>\\n',
'-f' => '/www/index.swish-e',
'-b' => 1
},
'DateRanges_time_high' => undef,
'prog' => '/usr/local/bin/swish-e',
'DateRanges_time_low' => undef,
'hits' => 0,
'_headers' => {
'ignoretotalwordcountwhenranking' => '1',
'endcharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãä
åæçèéêëìíîïðñòóôõöøùúûüýþÿ',
'wordcharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãä
åæçèéêëìíîïðñòóôõöøùúûüýþÿ',
'stemming applied' => '0',
'indexed on' => '2004-06-04 13:48:45 UTC',
'minwordlimit' => '1',
'saved as' => 'index.swish-e',
'soundex applied' => '0',
'search words' => 'swishdefault=(Head)',
'total words' => '292',
'begincharacters' =>
'0123456789abcdefghijklmnopqrstuvwxyzªµºÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãä
åæçèéêëìíîïðñòóôõöøùúûüýþÿ',
'maxwordlimit' => '40',
'fuzzy mode' => 'None',
'swish format' => '2.4.2',
'index file' => '/www/index.swish-e',
'parsed words' => 'swishdefault = ( head )
',
'total files' => '14'
},
'q' => bless( {
'.parameters' => [
'query',
'submit',
'metaname',
'sort',
'dr_o',
'dr_s_mon',
'dr_s_day',
'dr_s_year',
'dr_e_mon',
'dr_e_day',
'dr_e_year'
],
'dr_s_year' => [
'2004'
],
'query' => [
'Head'
],
'submit' => [
'Search!'
],
'dr_s_day' => [
'4'
],
'sort' => [
'swishrank'
],
'dr_o' => [
'12'
],
'.charset' => 'ISO-8859-1',
'dr_e_year' => [
'2004'
],
'.fieldnames' => {},
'dr_e_day' => [
'4'
],
'metaname' => [
'swishdefault'
],
'dr_s_mon' => [
'6'
],
'dr_e_mon' => [
'6'
]
}, 'CGI' ),
'config' => {
'max_chars' => 500,
'secondary_sort' => [
'swishlastmodified',
'desc'
],
'max_query_length' => 100,
'num_pages_to_show' => 12,
'meta_groups' => {
'all' => [
'swishdefault',
'swishtitle',
'swishdocpath'
]
},
'swish_index' => '/www/index.swish-e',
'config_file' => '.swishcgi.conf',
'debug_options' => 'basic, command, headers,
output, summary, dump',
'date_ranges' => {
'line_break' => 0,
'property_name' =>
'swishlastmodified',
'date_range' => 1,
'time_periods' => [
'All',
'Today',
'Yesterday',
'This
Week',
'Last
Week',
'Last
90 Days',
'This
Month',
'Last
Month'
],
'default' => 'All'
},
'on_intranet' => 0,
'timeout' => 10,
'debug' => 95,
'metanames' => [
'swishdefault',
'swishtitle',
'swishdocpath'
],
'highlight' => {
'highlight_on' => '<font
style="background:#FFFF99">',
'max_words' => 100,
'show_words' => 10,
'highlight_off' =>
'</font>',
'occurrences' => 6,
'meta_to_prop_map' => {
'swishdocpath' => [
'swishdocpath'
],
'swishtitle' => [
'swishtitle'
],
'swishdefault' => [
'swishtitle',
'swishdescription'
]
},
'package' =>
'SWISH::PhraseHighlight'
},
'sorts' => [
'swishrank',
'swishlastmodified',
'swishtitle',
'swishdocpath'
],
'display_props' => [
'swishlastmodified',
'swishdocsize',
'swishdocpath'
],
'ps_prog' => '/bin/ps -Unobody -ocommand',
'swish_binary' => '/usr/local/bin/swish-e',
'Xselect_indexes' => {
'columns' => 3,
'method' =>
'checkbox_group',
'description' =>
'Select Site: ',
'labels' => [
'Main
Index',
'Other
Index',
'two',
'three',
'four'
],
'default_index' => ''
},
'description_prop' => 'swishdescription',
'limit_procs' => 0,
'page_size' => 15,
'no_first_page_navigation' => 0,
'xtemplate' => {
'options' => {
'loop_context_vars' => 1,
'filename' =>
'swish.tmpl',
'path' =>
'/usr/local/share/swish-e',
'die_on_bad_params' => 0,
'cache' => 1
},
'package' =>
'SWISH::TemplateHTMLTemplate'
},
'title_property' => 'swishtitle',
'Xselect_by_meta' => {
'columns' => 3,
'values' => [
'misc',
'mod',
'vhosts',
'other'
],
'method' =>
'checkbox_group',
'description' =>
'Limit search to these areas: ',
'labels' => {
'vhosts'
=> 'Virutal hosts',
'misc'
=> 'General Apache docs',
'mod' =>
'Apache Modules'
},
'metaname' => 'site'
},
'title' => 'Radiation Oncology Clinical
KnowledgeBase',
'link_property' => 'swishdocpath',
'no_last_page_navigation' => 0,
'name_labels' => {
'swishdocpath' =>
'Document Path',
'swishlastmodified' =>
'Last Modified Date',
'swishrank' => 'Rank',
'subject' => 'Message
Subject',
'name' => 'Poster\'s
Name',
'all' => 'All',
'email' => 'Poster\'s
Email',
'swishtitle' => 'Title',
'swishdocsize' =>
'Document Size',
'swishdefault' => 'Title &
Body',
'sent' => 'Message Date'
}
},
'query_simple' => 'Head',
'metaname' => 'swishdefault',
'_errstr' => 'no results',
'MOD_PERL' => undef
}, 'SwishQuery' );
--------------------------
-----Original Message-----
From: Kaplan, Andrew H.
Sent: Friday, June 04, 2004 2:10 PM
To: 'Bill Moseley'
Cc: 'swish-e@sunsite.berkeley.edu'
Subject: RE: Error Message: Index file error: Could not open the index
fil e 'i
Hi there --
I set the debug level to basic and reran a query. The same error message
occurred and the following
lines appeared in the error_log file.
[Fri Jun 4 14:12:08 2004] [warn] module mod_php4.c is already added,
skipping
[Fri Jun 4 14:12:08 2004] [notice] Apache/1.3.31 (Unix) PHP/4.3.7
configured -- resuming normal operations
[Fri Jun 4 14:12:08 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Jun 4 14:13:10 2004] [error] [client 132.183.12.148] File does not
exist: /www/favicon.ico
Debug level set to: 1 [basic]
Config file '.swishcgi.conf': No such file or directory at
/usr/local/apache/cgi-bin/swish.cgi line 658.
swish.cgi: no results
Debug level set to: 1 [basic]
Config file '.swishcgi.conf': No such file or directory at
/usr/local/apache/cgi-bin/swish.cgi line 658.
swish.cgi: no results
I did a search (find command) for the swishcgi.conf file, but I did not come
across one.
-----Original Message-----
From: Bill Moseley [mailto:moseley@hank.org]
Sent: Friday, June 04, 2004 1:54 PM
To: Kaplan, Andrew H.
Cc: 'swish-e@sunsite.berkeley.edu'
Subject: Re: Error Message: Index file error: Could not open the index
fil e 'i
On Fri, Jun 04, 2004 at 01:45:54PM -0400, Kaplan, Andrew H. wrote:
> Hi there --
>
> I have made some progress. The error message that I mentioned in my
earlier
> e-mail does not appear, but now when I enter in a word to search for, the
> message
> I am getting now is "No results" even though I know the word is in the
> docuements.
1) Turn on debugging in the swish.cgi config
2) tail -f /var/log/apache/error_log # or whatever
3) note the command sent to swish and the output from swish
4) try and repeat from the command line
--
Bill Moseley
moseley@hank.org
Received on Fri Jun 4 12:00:30 2004