I am trying to enable searching on + symbols and am not having any luck so far.
I added the following to my config file:
extra_word_characters:   +
I didn't change valid punctuation.

I reran htdig/htmerge and I believe they worked.  I see many strings
containing + in the file db.wordlist.

However I am not having any luck with htsearch.  I have tried the following (see 
below).
In the first case, it treats + the same as it would a space thereby splitting 
the search string into two terms.  In the second, I tried to use an html ampersand 
directive and it is treating the ampersand as a parameter separator. 
What am I missing?   Thanks.

$ QUERY_STRING="method=and&words=VMS+UNIX"
$ htsearch -vvv |less
tempWords: 'vms:0 unix:0 '
Boolean: 'vms:0 &:0 unix:0 '
initial: ''
Fuzzy on: vms
   exact vms
searchWords: 'vms:0 '
Add: &
searchWords: 'vms:0 &:0 '
Fuzzy on: unix
   exact unix
searchWords: 'vms:0 &:0 unix:0 '
LogicalWords: vms and unix
Pattern: vms|unix

$ QUERY_STRING="method=and&words=VMS&043;UNIX"
$ htsearch -vvv |less
tempWords: 'vms:0 '
Boolean: 'vms:0 '
initial: ''
Fuzzy on: vms
   exact vms
searchWords: 'vms:0 '
LogicalWords: vms
Pattern: vms





-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
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