if u keyword is space seperated and if u want to find 2 words then u need to
add a "+" between the 2 words.

Ex
---

when user enter one two ( u need to convert them to one+two) to present it
for htdig.

Cheers
Srini

-----Original Message-----
From: Tony Crockford [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 3:54 PM
To: [EMAIL PROTECTED]
Subject: [htdig] Apache errors on keyword search


Hi all

Hopefully someone can shed some light on this oddity.

I've set up htdig to add hidden keywords to a users search using the
<input type=hidden name=keywords value=""> option on the htsearch form which
also presets the search parameters for a *simple* search.

The list of keywords is space separated.

All seems okay until someone enters less than two characters at this point
Apache returns a premature end of script error.

Obviously I have missed some pertinent point, but can't find anything to
help in the documentation.

Help anyone?


Here's my html:

<form method="post" action="/cgi-bin/htsearch">
<input type=hidden name=method value=all>
<input type=hidden name=format value=builtin-long>
<input type=hidden name=sort value=score>
<input type=hidden name=config value=htdig>
<input type=hidden name=restrict value="">
<input type=hidden name=exclude value="/hall2/">
<input type=hidden name=keywords value="?Region[-6]? ?Town_name[-4]?
?Activity[-2]? ?Sub_activity?">
<input type="text" size="22" name="words" value="">
<input type="submit" value="Search">
</form>



Thanks in adavnce


Tony


W:  http://www.boldfish.co.uk
E:  mailto:[EMAIL PROTECTED]


------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.

Reply via email to