Hi, I have a November snapshot of 3.2.0b4 which is working quite well. The phrase searching seems to be working when I use a text box and type in the quotes around the phrase - however, when I pass a phrase via the URL to htsearch (ie: through an HTML wrapper) the phrases don't work. It does an "AND" search for the words in the phrase. So I'm wondering if you have any insight as to how to properly escape the quotes in a URL when passing a phrase to htsearch through an HTML wrapper. Any advice would be great here.
Cheers, Jonathan Schlackl On Tuesday 04 February 2003 06:29, you wrote: > On Monday, February 3, 2003, at 11:25 AM, Robert Stoeber wrote: > > However, that didn't work. I created a small index for testing, and > > searching for a phrase in quotes seems to do the same thing as simply > > searching for two words. In other words, searching for "aluminum > > oxide" is returning documents where those two words appear anywhere in > > the document. > > > > Am I missing something? Is there a special option to turn on when > > generating the index? Does the input form have to pass a hidden > > variable or something that says "this is a phrase"? Or do phrases > > just not work in the current snapshot? > > Nothing special is required. I can't speak for the most recent > snapshots, but for the December snapshot I currently have installed > simply enclosing the terms in double quotes results in the expected > behavior. > > Any chance that you have more than one copy of ht://Dig installed and > are actually calling a 3.1.6 version of htsearch? > > Are the occurrences in the returned documents very near each other or > are they widely separated? If they are very near each other, it might > be that the word(s) between them are being stripped out (e.g. words in > the bad_words file). > > The only other thing I can think to suggest is that you check the > actual files for occurrences of the phrase that might for some reason > not show up in the rendered page. > > Jim > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > 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 ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ 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