Subject: Re: AW: [htdig] AND OR in restrict
From: J. op den Brouw (firstname.lastname@example.org)
Date: Tue Aug 15 2000 - 06:08:12 PDT
Yes they do, IFAIK.
Use the '|' to OR two or more resticts
Or in a HTML form like:
<INPUT TYPE=HIDDEN NAME="restrict" VALUE="g21|g22">
"Reich, Stefan" wrote:
> 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
> And wouldn't make sense, because a single document has only one url.
> -----Ursprüngliche Nachricht-----
> Von: Eric Persson [mailto:email@example.com]
> Gesendet: Dienstag, 15. August 2000 14:17
> An: 'firstname.lastname@example.org'
> Betreff: [htdig] AND OR in restrict
> Hi !
> I'm trying to make a restrict with or clauses. I want the search to restrict
> 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
> so I want to be able to send the restrict piece urlencoded.
> But how do I get the or stuff to work?
> Best regards,
To unsubscribe from the htdig mailing list, send a message to
You will receive a message to confirm this.
List archives: <http://www.htdig.org/mail/menu.html>
This archive was generated by hypermail 2b28 : Mon Aug 14 2000 - 19:57:35 PDT