Hi Dan,
I'm sorry, but the search engine on the mail archive doesn't work to
me...Everything I search, it always says "There were no matches for ... found
on the website" :-(( Anyway, when I tested htDig in the "html version", it
worked great with patterns between double quotes...I remember that it was one
of the first things I tested...Tomorrow I'll test it again to be sure at 100%
and I'll write the results...if U are on line I'll give U the URL to test it by
yourself...
Bye for now
Pietro
Scrive Dan Langille <[EMAIL PROTECTED]>:
> On 28 Jul 2001, at 17:04, Pietro Palladino wrote:
>
> > Hi Dan,
> > I'm your betatester ;-))) I discovered a new bug in your PHP wrapper:
> it
> > doesn't allow the search of a specific pattern. For example, try this
> > search on your site:
> >
> > Method: All
> > Search: "the comment"
> >
> > Htdig will give U all the results concerning the word 'comment'
> instead of
> > the ones containing the pattern 'the comment'.
>
> Go to http://www.htdig.org/mailarchive.html and search on "various
> readers". You don't get matches on exact phrases.
>
> > It also returns a backslash
> > in the field 'Search'. I also tried to search that pattern with
> singles
> > quotes ( 'the comment') but I obtained the same results plus the
> field
> > Search filled with \'the comment\'.
>
> Well done. Fixed with this change to search-form.php:
>
> <input type="text" size="30" name="words" value="'.
> htmlspecialchars(StripSlashes($words)) . '">
>
>
> > You'll get the same results with "Any".
> >
> > Now try the same search with the Method Boolean....you'll get an
> error
> > 'cause htdig "see" the pattern as 'thecomment' (in this test the
> field
> > Search was filled by a backslash). HtDig in itself works fine. If you
> try a
> > search like this on HtDig site, you'll get the right output. Maybe
> there's
> > something in your wrapper that doesn't strip the backslashes but
> strips the
> > spaces (or parses the pattern and it ALWAYS splits it in its
> component
> > words to pass them to htsearch).
>
> You get the same error at http://www.htdig.org/mailarchive.html
>
> >
> > Let me know....and don't forget to send me the changes to the code
> :-)
> >
> > Many thanks.
> >
> > Pietro Palladino
> >
>
>
>
> --
> Dan Langille
> pgpkey - finger [EMAIL PROTECTED] | http://unixathome.org/finger.php
>
_______________________________________________
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