I added a FAQ entry about it, in case someone else tried to use that. http://wiki.apache.org/nutch/FAQ#head-eb90723db5b86924121115e3b671f46501c21659
I mentioned the source of the tip, unless you don't want your name being there for whatever reason. Thanks again, D. > > Daniel López wrote: > > > ... However, I'd like to be > > > able to show the size of the document behind a hit and it's mime type, > > > just to warn the user in case it does not want to display it. > > > > > > I tried browing the API and play with HitDetails, but all I can get is > > > the title, url, summary and some doc/segment ids that are not useful > > > for the user. > > > > > > Is there any way I can get this information? > > > > > > > > > Thanks, > > > D. > > > > > > > > > . > > > > > If you add index-more filter to index, mime-type and content-length > > should be available in HitDetails (via fields "primaryType", "subType" > > and "contentLength"). ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
