Opened 11 years ago

Closed 5 years ago

#630 closed defect (fixed)

title:"foo""bar" parses unexpectedly

Reported by: Olly Betts Owned by: Olly Betts
Priority: normal Milestone: 1.4.14
Component: QueryParser Version: git master
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

If title: is a probabilistic prefix, then title:"foo""bar" currently parses the same as title:foo bar, which seems surprising. I'd expect the prefix to at least apply to both in this case, and probably the whole thing to be considered a phrase.

(Example noted by amdragon on #notmuch)

Change History (2)

comment:1 by Olly Betts, 8 years ago

Milestone: 1.4.x

comment:2 by Olly Betts, 5 years ago

Milestone: 1.4.x1.4.14
Resolution: fixed
Status: newclosed
Version: SVN trunkgit master

Fixed in git master by 1b2bf807e775de432726acc8a29a0e4f52395d92. Seems worth backporting as it isn't an invasive change, so backported for 1.4.14 as bf5fa7db9e707a190e6ee0883c951a2a06cfaf1c.

Note: See TracTickets for help on using tickets.