<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>浮山狼de博客 &#187; 搜索</title>
	<atom:link href="https://www.fushanlang.com/category/programming-skill/%e6%90%9c%e7%b4%a2/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fushanlang.com</link>
	<description>next station - 下一站，活在当下，且行且思</description>
	<lastBuildDate>Sat, 29 Nov 2014 15:14:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.5</generator>
	<item>
		<title>debian install solr3.6.1 with tomcat7</title>
		<link>https://www.fushanlang.com/debian-install-solr3-6-1-with-tomcat7-2232/</link>
		<comments>https://www.fushanlang.com/debian-install-solr3-6-1-with-tomcat7-2232/#comments</comments>
		<pubDate>Tue, 04 Sep 2012 08:17:18 +0000</pubDate>
		<dc:creator><![CDATA[fushanlang]]></dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[搜索]]></category>
		<category><![CDATA[solr]]></category>
		<category><![CDATA[tomcat7+solr3.6]]></category>

		<guid isPermaLink="false">http://www.fushanlang.com/blog/?p=2232</guid>
		<description><![CDATA[<p>os:  debian 6 x86_64</p> <p>install:</p> <p>#apt-get install apt-spy</p> <p>#apt-spy -d unstable -a asia -t 5     选择unstable是为了提高软件包版本</p> <p>#apt-get update</p> <p>#apt-get install tomcat7</p> <p>浏览 http://www.apache.org/dyn/closer.cgi/lucene/solr/3.6.1</p> <p>#wget  http://www.us.apache.org/dist/lucene/solr/3.6.1/apache-solr-3.6.1.tgz</p> <p>#tar xzf  apache-solr-3.6.1.tgz</p> <p>配置solr:</p> <p>#cd apache-solr-3.6.1/example</p> <p>#cp  -rf  solr/*   /solr_home   建立solr home文件夹</p> <p>#cp webapp/solr.war  /var/lib/tomcat7/webapps/     部署到tomcat webapps</p> <p>#cp -rf  multicore  /etc/tomcat7/           <span style="color:#777"> . . . &#8594; Read More: <a href="https://www.fushanlang.com/debian-install-solr3-6-1-with-tomcat7-2232/">debian install solr3.6.1 with tomcat7</a></span>]]></description>
				<content:encoded><![CDATA[<p><strong>os:</strong>  debian 6 x86_64</p>
<p><strong>install:</strong></p>
<p>#apt-get install apt-spy</p>
<p>#apt-spy -d unstable -a asia -t 5     <strong>选择unstable是为了提高软件包版本</strong></p>
<p>#apt-get update</p>
<p>#apt-get install tomcat7</p>
<p>浏览 <a href="http://www.apache.org/dyn/closer.cgi/lucene/solr/3.6.1">http://www.apache.org/dyn/closer.cgi/lucene/solr/3.6.1</a></p>
<p>#wget  http://www.us.apache.org/dist/lucene/solr/3.6.1/apache-solr-3.6.1.tgz</p>
<p>#tar xzf  apache-solr-3.6.1.tgz</p>
<p><strong>配置solr:</strong></p>
<p>#cd apache-solr-3.6.1/example</p>
<p>#cp  -rf  solr/*   <strong>/solr_home</strong>   <strong>建立solr home文件夹</strong></p>
<p>#cp webapp/solr.war  <strong>/var/lib/tomcat7/webapps/     部署到tomcat webapps</strong></p>
<p>#cp -rf  multicore  <strong>/etc/tomcat7/                           拷贝multicore设置</strong></p>
<p>或者</p>
<p>#cp -rf multicore <strong>/var/lib/tomcat7/conf/        <strong>拷贝multicore设置</strong></strong></p>
<p>#cd  /etc/tomcat7/Catalina/localhost</p>
<p>#vim solr-3.6.1.xml</p>
<pre>&lt;Context docBase="<em><strong>/var/lib/tomcat7/webapps/solr</strong></em>" debug="0" reloadable="true" crossContext="true" &gt;
    &lt;Environment name="solr/home" type="java.lang.String" value="<em><strong>/var/lib/tomcat7/conf/multicore</strong></em>" override="true" /&gt;
&lt;/Context&gt;</pre>
<p>ps:<strong>/var/lib/tomcat7/conf/  是  /etc/tomcat7 的软连接</strong></p>
<p>#cd  /var/lib/tomcat7/webapps/solr</p>
<p>#cd WEB-INF</p>
<p>#vim web.xml</p>
<p>uncomment  &#8220;&lt;env-entry&gt;&#8221; part.</p>
<pre>&lt;env-entry&gt;
 &lt;env-entry-name&gt;solr/home&lt;/env-entry-name&gt;
 &lt;env-entry-value&gt;<em><strong>/solr_home</strong></em>&lt;/env-entry-value&gt;
 &lt;env-entry-type&gt;java.lang.String&lt;/env-entry-type&gt;
 &lt;/env-entry&gt;</pre>
<p>#/etc/init.d/tomcat7 restart</p>
<p>===dont forget to set permission for /solr_home<br />
<strong>sudo chown  tomcat7:tomcat7 -R  /solr_home </strong><br />
然后浏览器访问　ip:8080/solr 就可以了。</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fushanlang.com/debian-install-solr3-6-1-with-tomcat7-2232/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>新上线九合搜索</title>
		<link>https://www.fushanlang.com/nine-on-line-search-of-new-combined-1560/</link>
		<comments>https://www.fushanlang.com/nine-on-line-search-of-new-combined-1560/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 09:11:12 +0000</pubDate>
		<dc:creator><![CDATA[fushanlang]]></dc:creator>
				<category><![CDATA[搜索]]></category>
		<category><![CDATA[九合]]></category>

		<guid isPermaLink="false">http://www.fushanlang.com/blog/?p=1560</guid>
		<description><![CDATA[<p>很早之前听说过，“百谷虎”搜索，把三大搜索引擎恶搞了一把儿。只有开始接触“元搜索”的概念，没想到国外元搜索已经发展了好几年了，垂直搜索也发展的比较早。等都国人来搞元搜索的时候，就变成了肆无忌惮的“偷”了，有时简直是“疯狂的抓取”，不但“盗窃”了其他网站的内容，更是让对方的服务器“不堪重负”，就连google这么巨大总是十分慷慨的大户，也开始限制其他爬虫对google搜索结果的抓取。</p> <p>之前了解一下，“爬虫界”的发展情况，大致分这么几类，有脚本爬虫php,asp,asp.net,jsp,python,ruby的，也有客户端exe爬虫基本上采用httpclient类的C++ Qt,或者Java客户端，或者linux下的curl客户端,linux下python,ruby客户端等等。本来也想往爬虫方向插一脚，但真要做好需要很多物理支持，比如庞大的计算机集群，浩大的数据库，高效的采集分析整理程序，一个人很难胜任。</p> <p>于是才有了“九合搜索”的仿“百谷虎”版，远离的抓取行为，不会给其他搜索引擎造成抓取压力，也不需要爬虫参与。但是我只是奇怪，为什么之前看到的仿“百谷虎”的网站，都采用了动态脚本如asp，或者php，实际上根本无需动态页参与，静态的html+js足以搞定！</p> <p>九合搜索，呵呵！叫的挺响亮的，实际上对和我一样喜欢在多个搜索引擎间切换的人来说是有用的，方便的。一般情况下，人们出于习惯，只需要掌握一种搜索引擎就好了。所以，上周末在家里搞了一下，把它扔到我博客空间里了，sou.9he.info 就是访问入口，希望对感兴趣的人有用！:)</p> ]]></description>
				<content:encoded><![CDATA[<p>很早之前听说过，“百谷虎”搜索，把三大搜索引擎恶搞了一把儿。只有开始接触“元搜索”的概念，没想到国外元搜索已经发展了好几年了，垂直搜索也发展的比较早。等都国人来搞元搜索的时候，就变成了肆无忌惮的“偷”了，有时简直是“疯狂的抓取”，不但“盗窃”了其他网站的内容，更是让对方的服务器“不堪重负”，就连google这么巨大总是十分慷慨的大户，也开始限制其他爬虫对google搜索结果的抓取。</p>
<p>之前了解一下，“爬虫界”的发展情况，大致分这么几类，有脚本爬虫php,asp,asp.net,jsp,python,ruby的，也有客户端exe爬虫基本上采用httpclient类的C++ Qt,或者Java客户端，或者linux下的curl客户端,linux下python,ruby客户端等等。本来也想往爬虫方向插一脚，但真要做好需要很多物理支持，比如庞大的计算机集群，浩大的数据库，高效的采集分析整理程序，一个人很难胜任。</p>
<p>于是才有了“九合搜索”的仿“百谷虎”版，远离的抓取行为，不会给其他搜索引擎造成抓取压力，也不需要爬虫参与。但是我只是奇怪，为什么之前看到的仿“百谷虎”的网站，都采用了动态脚本如asp，或者php，实际上根本无需动态页参与，静态的html+js足以搞定！</p>
<p>九合搜索，呵呵！叫的挺响亮的，实际上对和我一样喜欢在多个搜索引擎间切换的人来说是有用的，方便的。一般情况下，人们出于习惯，只需要掌握一种搜索引擎就好了。所以，上周末在家里搞了一下，把它扔到我博客空间里了，sou.9he.info 就是访问入口，希望对感兴趣的人有用！:)</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fushanlang.com/nine-on-line-search-of-new-combined-1560/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
