Opened 12 years ago

Last modified 6 years ago

#414 new defect

QueryParser corner cases

Reported by: Olly Betts Owned by: Olly Betts
Priority: normal Milestone: 1.4.x
Component: QueryParser Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description (last modified by Olly Betts)

There are quite a few cases which we probably don't handle as well as we could (sometimes it's not totally clear what the behaviour should be), so let's make a list here and see if we can find resolutions, or decide the current behaviour is fine.

With FLAG_SYNONYM these cause reparsing so parse as foo abc def (we just ignore ~ unless the next character is a word character, so without the "foo:" prefix, ~ is just ignored):

~foo:(abc def)
~foo:"abc def"

Assuming "foo" is set as a non-boolean prefix, the first should probably parse as synonyms for the two terms, so the same as:

~foo:abc ~foo:def

And the second should probably do a multi-word synonym expansion.

Change History (4)

comment:1 by Olly Betts, 11 years ago

Milestone: 1.2.x

comment:2 by Olly Betts, 10 years ago

Milestone: 1.2.x1.3.x

comment:3 by Olly Betts, 8 years ago

Description: modified (diff)

comment:4 by Olly Betts, 6 years ago

Milestone: 1.3.x1.4.x

Not a release blocker - we can fix these in 1.4.x without an ABI break.

Note: See TracTickets for help on using tickets.