List Info

Thread: Re: Best way to index local files intended for http access




Re: Best way to index local files intended for http access
country flaguser name
United States
2007-08-11 10:25:40
> 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/


Re: Best way to index local files intended for http access
country flaguser name
China
2007-08-11 11:03:58
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" <rsalzus.ibm.com>
To: <nutch-userlucene.apache.org>
Cc: <nutch-userlucene.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/
>
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )