Hmmm, the only occurances of Field.Store I can find are Field.Store.YES.
The 'content' Field does not appear to be explicitly set in the way that
'boost' and 'digest' are.

I guess this question should really be asked on nutch-dev...

Thanks

Matt

-----Original Message-----
From: Ian.huang [mailto:[email protected]] 
Sent: 05 January 2009 13:58
To: [email protected]
Subject: Re: store 'content' field in the index

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