Bill Moseley wrote:
At 11:08 AM 08/28/02 +0200, Per Einar Ellefsen wrote:

I think that adding $ and ^ would be acceptable. I don't see how it would catch any wrong words.


That's probably ok.  It's just a trade-off, of course.  The more chars that
are added means less false positives.  In general it's easier to filter out
the results by looking at them instead of not seeing them at all.

If $ and ^ are added to WordCharactes they also need to be added to
BeginCharacters. There's now way to "add" or "remove" those chars, but you
can dump the current settings like


./swish-e -T index_header | grep BeginCharacters

If you know how to add/remove that would be probably better. Can you please add them in the best possible way, when you have time? There is no hurry.


Also remember that we are using the swish-e binary that's in ~perlwww/bin/swish-e, it's not a symlink. So if we need a new binary, we should update it.

Thanks.

>>well, I've tested it on the whole thing and guess what... it worked.
>>Though it doesn't get highlighted, but that's probably OK.

> Hum, I have a version of the highlighting code somewhere that works with
> buzzwords. PhraseHighlight2.pm -- but I can't remember its status. I
> think it worked.... It's not in cvs. I'm short on time, but I'll try and
> see if that module works.


cool!

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to