Subject: Re: [htdig3-dev] Phrase searching bug in htdig-3.2.0b2-040200
From: Gilles Detillieux (email@example.com)
Date: Mon Apr 10 2000 - 13:53:09 PDT
According to Geoff Hutchison:
> On Mon, 10 Apr 2000, Gaillard Pierre-Olivier wrote:
> > Such an expression creates an infinite loop in the parser (the parse
> > function loops without consuming the opening parenthesis). I believe we
> Yuck. Thanks for your report, that's quite helpful. Someone recently
> reported the same thing, but didn't provide any details, so I couldn't
> reproduce it. They sent it to me personally, so it didn't end up in
> > 1) detect the syntax error in the phrase parser
> Currently, the only way to detect a syntax error is to start parsing it
> and discover a problem. This is one of the drawbacks to the current code.
> > 2b) prevent the endings algorithm from rewriting phrases.
> When I first put in the phrase code, it was supposed to turn off fuzzy
> matching inside the phrase. It's entirely possible this has been messed up
> along the way. My thought was this: if a user wants a phrase search, they
> don't want a fuzzy phrase search. Do others think this makes sense?
> I consider this a showstopper, so I'll see if I can fix this again. A
> truly good fix will require a cleanup along the lines Andrew and I
> discussed before. That will have to wait until after 3.2.0b2.
Yes, the "NEAR" operator you suggested would be useful for a fuzzy
phrase search, but until then, I think it makes sense to turn off the
fuzzy matching for phrases. You'll still need to do something about
that infinite loop, though. It seems to me that punctuation in a phrase
should be ignored, and not parsed as expression syntax.
-- Gilles R. Detillieux E-mail: <firstname.lastname@example.org> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to email@example.com You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Mon Apr 10 2000 - 11:38:13 PDT