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.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.
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?
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

