Yes they do, IFAIK.

Use the '|' to OR two or more resticts

restrict=g21|g22

Or in a HTML form like:

<INPUT TYPE=HIDDEN NAME="restrict" VALUE="g21|g22">


"Reich, Stefan" wrote:
> 
> Hello,
> 
> I don't think logical operators are supported for restrict (at least for
> HTDIG <= 3.1.5)
> You can send more than one restrict, which acts like an or
> (restrict=g21&restrict=g22)
> And wouldn't make sense, because a single document has only one url.
> 
> Bye
> 
>   Stefan
> 
> -----Urspr�ngliche Nachricht-----
> Von: Eric Persson [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 15. August 2000 14:17
> An: '[EMAIL PROTECTED]'
> Betreff: [htdig] AND OR in restrict
> 
> Hi !
> 
> I'm trying to make a restrict with or clauses. I want the search to restrict
> by
> G21 OR G22. I tried doing restrict=G21|G22 but it doesnt seem to return
> anything at all.
> 
> I am not using the builin forms since I fetch the result with a small
> script,
> so I want to be able to send the restrict piece urlencoded.
> 
> But how do I get the or stuff to work?
> 
> Best regards,
>         Eric

--Jesse

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives:  <http://www.htdig.org/mail/menu.html>
FAQ:            <http://www.htdig.org/FAQ.html>

Reply via email to