On Jun 19, 2007, at 1:39 PM, Naess, Ronny wrote: > I have made a small Lucene client reading my nutch index created with > Nutch-0.9 > > This works fine. However since 'content' is not stored only indexed in > the index I have to find a way to access the content to create a > summary > (and highlighting the query terms). >
You can simply set the content to be stored in the Lucene index then highlighting will work normally from any Lucene client. Search the mailing list (there was a post just yesterday) about how to accomplish this, there's a single line of code to change. Do realise that storing content will slow down some queries and your index size will grow very large. -Brian ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
