Hi Richard,
Just took a quick hack in the protocol-file plug-in. The
protocol-file will return a "ProtocolOutput"
object , where the file content is kept,and by default, this
content will be kept in the directory "content" in
the segment eventually.
You can try to set the property to false..
<property>
<name>fetcher.store.content</name>
<value>true</value>
<description>If true, fetcher will store
content.</description>
</property>
Thanks
-Qi
----- Original Message -----
From: "Richard Salz" <rsalz us.ibm.com>
To: <nutch-user lucene.apache.org>
Cc: <nutch-user lucene.apache.org>
Sent: Saturday, August 11, 2007 11:25 PM
Subject: Re: Best way to index local files intended for http
access
>> try to take a look at the source code of plugin
"protocol-file"....
>
> And do what, put in a Location header with the URL I
want?
>
> For now, I did the hack of editing search.jsp
>
> /r$
>
> --
> STSM, Senior Security Architect
> DataPower SOA Appliances
> ht
tp://www.ibm.com/software/integration/datapower/
> |