Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#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 Olly Betts, 20 years ago

Status: newassigned

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.

comment:2 by Olly Betts, 20 years ago

Resolution: fixed
Status: assignedclosed

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.

comment:3 by Olly Betts, 20 years ago

Operating System: Linux
Resolution: fixedreleased

Fixed in 0.8.0

Note: See TracTickets for help on using tickets.