Greetings Jonathan,

How old is your snapshot?  This sounds like something I *tried* to fix
a couple of months ago.

The current snapshot has some bugs, so I won't recommend it for actual
use, but could you please check to see if it still has this bug?

Thanks!
Lachlan

On Fri, 27 Jun 2003 14:31, Jim Cole wrote:
> On Wednesday, June 25, 2003, at 08:14 AM, Jonathan Schlackl wrote:
> 
> >   I have a small issue with slashes in phrases causing htsearch to 
> > return
> > 0 results - here's the phrase:
> >  "UNAIDS HIV/AIDS Communications Framework"
> >
> >   Returns 0 results but when I search for:
> 
> I think that there is a problem with the parser that handles phrase 
> queries. When HIV/AIDS is indexed, the slash is stripped and the second 
> term and hivaids is added to the database (along with the individual 
> components hiv and aids). However the phrase is not being treated in 
> the same manner when provided as a query.
> 
> For a possible work-around, you might want to take a look at the 
> following two attributes.
> 
> http://www.htdig.org/attrs.html#valid_punctuation
> http://www.htdig.org/attrs.html#extra_word_characters
> 
> If you add '/' to extra_word_characters, the '/' should no longer be 
> stripped during indexing. I think that you will also need to remove the 
> '/' from valid_punctuation in order to get the results you are looking 
> for.
> 
> Jim
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.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
> 

-- 
[EMAIL PROTECTED]
ht://Dig developer DownUnder  (http://www.htdig.org)


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
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

Reply via email to