AW: [htdig] AND OR in restrict


Subject: AW: [htdig] AND OR in restrict
From: Reich, Stefan (Stefan.Reich@dgn-service.de)
Date: Tue Aug 15 2000 - 05:28:57 PDT


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:eric@unc.se]
Gesendet: Dienstag, 15. August 2000 14:17
An: 'htdig@htdig.org'
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

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

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



This archive was generated by hypermail 2b28 : Mon Aug 14 2000 - 19:30:08 PDT