[Xapian-discuss] Adding spell correction

Frank J Bruzzaniti frank.bruzzaniti at harrier-rm.com
Wed Mar 25 01:52:08 GMT 2009


I read on a post about someone adding spelling correction.
http://article.gmane.org/gmane.comp.search.xapian.general/7105

They quoted that they had gotten it working by adding these 2 lines:

$indexer->set_flags( XapianTermGenerator::FLAG_SPELLING );
$indexer->set_database( $database );

What file would I need to edit? 
I'm using omega with a custom php front end (I've already added 
XapianQueryParser::FLAG_SPELLING_CORRECTION).

Frank



More information about the Xapian-discuss mailing list