are you sure you want the quotes around the restricted word??
Dave
----- Original Message -----
From: "Paul Happ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 2:24 PM
Subject: [htdig] htsearch Exclude/ Restrict Problem
> Hello,
>
> I am unable to restrict my searching using exclude and restrict on
multiple
> search forms.
> After many hours of reading and searching I find I'm stumped and need your
> help.
>
> Of all the archives I've been through I find mention of an htsearch
> Exclude/ Restrict / RegEx problem only in very old messages. Nothing
recent.
>
> Version 3.1.2 running in an Earthlink shared hosting environment.
>
> Entire site indexed in one common database.
>
> Only concerned with a sub-directory structure of the site with directories
of:
> /journal/* (a variety of subdirectories)
>
> Including these specific directories:
> /journal/abstracts
> /journal/abstracts.97
> /journal/abstract98
> /journal/abstracts.99
>
> I'd like one search form to only search the abstracts:
> restrict="abstracts" (I think I have this working OK. Need more testing to
> verify)
>
> I'd like another search form to search only the journal:
> exclude="abstracts" restrict="journal"
> (i.e. include only urls that have the string "journal" in them, but
exclude
> any url with the string "journal/abstra" in them.
>
> I cannot get this to work. Can it be done? Are they simple text strings or
> are they Regular Expressions? If RE's, which syntax? Are exclude and
> restrict mutually exclusive?
>
> I don't have the expertise to understand the guts of the htsearch code,
but
> from the user documentation it looks like this should work.
>
> Thanks for any guidance or suggestions.
>
>
> Respectfully,
> Paul Happ
>
>
>
> _______________________________________________
> htdig-general mailing list <[EMAIL PROTECTED]>
> To unsubscribe, send a message to
<[EMAIL PROTECTED]> with a subject of unsubscribe
> FAQ: http://htdig.sourceforge.net/FAQ.html
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html