Daniel López wrote:
> Hi again,
>
> I finally ignored the RTF and MP3 plugins and was able to compile 
> Nutch from scratch and then proceeded to create my own web search 
> application.
>
> I get it up and running and I'm now displaying the same information as 
> the "demo" search pages that come with Nutch. 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

Reply via email to