#21 closed defect (released)
Capitalized terms are incorrectly mapped to fields
Reported by: | Arjen | Owned by: | Olly Betts |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Omega | Version: | 0.7.5 |
Severity: | minor | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | Linux |
Description
I'm sorry for not having tested this simple case.
The query "title:acm"
Returns this correct description: Xapian::Query(XTTacm:(pos=1))
The query "title:ACM" Xapian::Query(XTT:Racm:(pos=1))
The term is indexed as XTTRacm, so there won't be a match
Change History (3)
comment:1 by , 21 years ago
Status: | new → assigned |
---|
comment:2 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
OK, raw terms with a multicharacter prefix are now indexed with a : inserted (e.g. as XFOO:Rterm). This matches what the query parser does.
Note:
See TracTickets
for help on using tickets.
I guess XTTRacm is the incorrect one - otherwise we get a collision between ACM with prefix XTT and acm with prefix XTTR. But that does mean existing indexes need rebuilding. Hmm. I'll take a look.