sorry. i needed to actually read the script first, i guess... <sheepish
grin>
print STDERR "no match for query:".$request_object->param('query')."\n";
John Wentworth wrote on 7/16/04 3:25 PM:
> I added your script where you suggested
> and it is printing whenever the search fails but it's not printing the =
> search term instead it prints this
> no matches for query: CGI=3DHASH(0x92ae86c)
> if you can tell me how to get the query terms instead of the CGI=3DHASH =
> stuff I think I'll be set
> thank you for your help
>
> jeez, it must be friday afternoon...
>
> if you do a print to STDERR, it'll show up in your web log:
>
>
> if ( $search->hits ) {
> $search->set_navigation; # sets links
> } else {
>
> print STDERR "no matches for query: $search->{q}\n";
>
> }
>
> Peter Karman - Software Publications Engineer - Cray Inc
> phone: 651-605-9009 - mailto:karman@cray.com
>
>
>
>
> *********************************************************************
> Due to deletion of content types excluded from this list by policy,
> this multipart message was reduced to a single part, and from there
> to a plain text message.
> *********************************************************************
--
Peter Karman - Software Publications Engineer - Cray Inc
phone: 651-605-9009 - mailto:karman@cray.com
Received on Fri Jul 16 13:51:04 2004