-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
Carl.Vondrick wrote: > Hey, > You may want to check out sfLucenePlugin from the symfony project: > http://trac.symfony-project.com/wiki/sfLucenePlugin > http://trac.symfony-project.com/browser/plugins/sfLucenePlugin > > The plugin ships with a highlighter. It currently uses just clever string > manipulations to highlight, but might be worth checking out. Thanks for the hint. I've looked at the code which does the actual highlighting ( http://trac.symfony-project.com/browser/plugins/sfLucenePlugin/lib/util/sfLuceneHighlighter.class.php ) but as I see it it just uses string function to find the terms. In my experience with Lucene, if you don't use the same tokenizer process used for creating the index, you basically can't get 100% highlighting what Lucene internally matched. Our approach is to use the internals Z_S_Lucene provides to provide accurate matching. Thanks, - - Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHQIF/1nS0RcInK9ARAoAtAJ9ACoUIZcfiGPoEESAMYsCeWUTevgCgki71 3bXqN4+aApdNrS7OkF71w30= =U9wK -----END PGP SIGNATURE-----
