Joe,

Thanks!  I did what you suggested and now when I search for the item it returns no 
items :(  Your idea definitely worked though as it see it as a valid search, but I 
wonder if something else needs to be set.  

For example if you search for "list" it returns pages that have "sort-list" on them, 
but if you search "sort-list" they are not returned at all.  
http://www.jbase.com/jsearch.html if you care to look yourself.  I did do a htdig with 
the following options to make sure a new DB was created:

htdig -v -i -a -c

Any ideas?

Thanks,
Adam

-----Original Message-----
From: Joe R. Jah [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 4:11 PM
To: Adam Lipson
Cc: [EMAIL PROTECTED]
Subject: Re: [htdig] punctuation


On Wed, 27 Aug 2003, Adam Lipson wrote:

> Date: Wed, 27 Aug 2003 15:26:29 -0400
> From: Adam Lipson <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [htdig] punctuation
> 
> I noticed that htdig ignores characters like "." and "-" how can this
> be set to unignore these chars?  I saw the valid_punctuation variable
> in the docs and we don't have this set in our config files.  The docs
> say these are the characters that are deleted.  How do I unset these?
> 
> IE we wish to be able to search for things like "list_item" or
> "list-item" and not have it interpret the word as "listitem" also
> would like to search for 3.4.4.5 and not have it see 3445 as the
> search.

That is htdig default, even if it's not in your htdig.conf file:

   valid_punctuation:           .-_/!#$%^&'

To override the default put this line in your  htdig.conf file:

   valid_punctuation:           /!#$%^&'

Add what you remove from the default to extra_word_characters:

   extra_word_characters:       .-_

You can always visit attrs.html on http://www.htdig.org, or on your local
installation for comprehensive information about htdig attributes:

   http://www.htdig.org/attrs.html#valid_punctuation
   http://www.htdig.org/attrs.html#extra_word_characters

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to