Open
Bug 549594
Opened 15 years ago
Updated 2 years ago
GlodaMsgSearcher needs to avoid generating clauses that the tokenizer will eat
Categories
(MailNews Core :: Database, defect)
MailNews Core
Database
Tracking
(Not tracked)
NEW
People
(Reporter: asuth, Unassigned)
References
(Blocks 3 open bugs)
Details
(Whiteboard: [gloda key])
As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=523183#c5 any search query where we generate an ANDed clause that the tokenizer completely eats will result in no results being returned.
We should simply gobble that which the tokenizer will ignore.
Unfortunately, the tokenizer is not currently exposed via XPCOM so we either need to approximate its behaviour or expose it via XPCOM. Happily, approximating the behavior for most cases should be easy by using a regex to eat punctuation and then making sure what we are left with is long enough.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•