Errors

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Errors

Post by Thunderstone »



I am getting these errors in my httpd error_log:

115 May 3 14:48:35 /webinator/newsearch:468: Nothing to search for in query
in the function get equivs
100 May 3 14:48:35 /webinator/newsearch:468: Setmmapi let Failed
100 May 3 14:48:35 /webinator/newsearch:468: Metamorph open failed.


What do these mean and how do I fix them?

Thanks,
Matthew



User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Errors

Post by Thunderstone »



Those are caused by users searching for all noise terms. "let" in this
case. You can generally ignore these messages. If you wish to capture
them, you may write your own <putmsg> function in the search script.
See http://www.thunderstone.com/vortexman/node175.html




User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Errors

Post by Thunderstone »



You'll need to rebuild the search index to include noise.
Run this small vortex script (after changing THEDB) with a command like
texis indexnoise

<script language=vortex>
<db=THEDB>
<a name=main>
<user=_SYSTEM>
<sql "drop index xhtmlbod"></sql>
<apicp keepnoise 1>
<sql "create metamorph index xhtmlbod on html(Title\Meta\Body)"></sql>
</a>
</script>

You will need to rerun that script after using -create, -rewalk, -wipe,
-unindex, or -dropindex.

In your search script add
<apicp keepnoise 1>
where the other apicp settings are, or just before the main <sql> query.


If you still want some noise words use
<$noise="the" "if" "are">
<apicp noise $noise>

instead of
<apicp keepnoise 1>
in the search script.



Post Reply