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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
