Subject: [htdig3-dev] Phrase searching bug in htdig-3.2.0b2-040200
From: Gaillard Pierre-Olivier (email@example.com)
Date: Mon Apr 10 2000 - 12:20:01 PDT
Hello when the endings algorithm is on a phrase search like
is rewritten as
"(orange OR oranges) (drink OR drinks)"
Such an expression creates an infinite loop in the parser (the parse
function loops without consuming the opening parenthesis). I believe we
1) detect the syntax error in the phrase parser
2a) change the rewriting rule (I did not look at the code that does this
job) so that it
rewrites to "orange drink" OR "oranges drinks" OR "orange drinks" OR
which might be overkill since I personally have deactivated endings to
get phrase search to work
and I am very happy.
2b) prevent the endings algorithm from rewriting phrases.
Is this problem already corrected ? I have been through the Jitterbug
system and did not find anything.
Maybe I should post this to the Jitterbug database but I find it slow
and also I think this issue needs
discussion so that we can find a good solution.
To unsubscribe from the htdig3-dev mailing list, send a message to
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Mon Apr 10 2000 - 10:05:34 PDT