I think you need to change the basicindexfilter

Field content=new Field("content", parse.getText(), Field.Store.NO, Field.Index.TOKENIZED);

change the Field.Store.NO to Field.Store.YES

Ian

--------------------------------------------------
From: "Matt Pearson" <[email protected]>
Sent: Monday, January 05, 2009 1:55 PM
To: <[email protected]>
Subject: store 'content' field in the index

Hi Everyone,



Does anyone know of a way I can configure the Nutch crawler to store the
contents of a document in the generated index?



Thanks





Matt





Matt Pearson




Reply via email to