According to Dave Hoover: > On Mon, 12 Aug 2002, Gilles Detillieux wrote: > > Hello Giles, > > I downloaded and installed htdig-3.2.0b4-20020811 and still had > a problem with bad_words when they are inside the phrase. > > For Example : > > I have a document that contains the following phrase : > > "ABOUT THIS SEARCH ENGINE - for a basic search do not use" > > from the above my bad_words file contains "this, for, not" > > If the whole phrase is searched as listed above I get No matches. > > If "THIS SEARCH ENGINE - for" is searched I get hits for documents > that contain "search engine" So it appears to strip the leading and > trailing bad words. > > If "THIS SEARCH ENGINE - for a" is searched I get no hits. Since I > index single characters and I do not have "a" in the bad words list > this should find something. The presence of "a" makes "for" an > internal bad word. > > Likewise if "for a basic search do not" is searched it strips the > initial and trailing bad words and finds the documnet. > > But if "for a basic search do not use" is searched the fact that > "not" is an internal stopword causes no hits to be found. > > Let me know if there is anything that can be done.
Well, the phrase searching capabilities in 3.2 are really out of my area of expertise, so maybe I'll throw this over to Geoff Hutchison and Quim Sanmarti, who were working on a new query parser for htsearch. I know Geoff has been busy with the mifluz code merge lately, so the new query parser has had to take a back seat to this. However, maybe Geoff or Quim could shed some light here... Does the new query parser fix such problem? How's the work coming along on it? What sort of help is needed on this? -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ htdig-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/htdig-dev
