I just started looking at the source code, but it sure looks like you can. If you look at this file:
clucene-contrib-0.9.13/test/TestHighlight.cpp In the doStandardHighlights() function, you'll see this line: const TCHAR* text = hl_hits->doc(i).get("content"); [I replaced a define with the actual text for clarity.] Instead of pulling the text from the document field, you should be able to pull it from your database. << Original message from, "Ahmed" <ci7nu...@gmail.com>: Date: Sat, 07 Aug 2010 21:20:41 +0100 To: clucene-developers@lists.sourceforge.net Can i use the highlighter even if i don't store text in clucene index? Le samedi 07 août 2010 à 09:50 +0200, Ben van Klinken a écrit : > Check out the highlighter code in the contribs folder. Should do what u need. > > Ben >>
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ CLucene-developers mailing list CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers