Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#73 closed defect (released)

small bug in simpleindex.php

Reported by: alec Owned by: Olly Betts
Priority: normal Milestone:
Component: Xapian-bindings Version: 0.9.4
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

if you index a paragraph like this one:

"Google recently started offering GMail hosted email services."

then the simplesearch.php script WILL find all words in it except for "Google" and "GMail".

This can be fixed by adding this line

$para = strtolower($para);

underneath

Document_set_data($doc, $para);

inside the foreach loop.

Change History (2)

comment:1 by Olly Betts, 19 years ago

Resolution: fixed
Status: newclosed

Thanks for reporting this. I've just fixed it in SVN.

comment:2 by Olly Betts, 19 years ago

Operating System: All
Resolution: fixedreleased

Fixed in 0.9.5

Note: See TracTickets for help on using tickets.