Feng Ji wrote:
Hi there,
I used indexer to store one additional field in lucene index,
Field.Store.YES, Field.Index.NO. (I will only add one single field, I see
the discuss about performance penalty of this)
then, I want to retrieve it from nutch's search page. I took a look of
how
nutch to get explanation and seems the logic go down to lucene package.
(maybe I miss something important)
I wonder if there is a way to retrieve indexed field and show it in
search
page in nutch.
If the field is stored (i.e. indexed with Field.Store.YES), then you can
retrieve it from HitDetails.getValue(fieldName).
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com