【爬虫】Nutch1.15 & Solr 8.2.0 配置

Nutch

1.x vs 2.x

Nutch development has been focused mainly on 1.x for the last few years. 2.x was designed with Apache Gora, so you can have a wide variety of storage backends, which is very useful! But it hasn’t been stable for quite a few years, although it has improved very much! Unfortunately, many new features that are about crawling have been added to 1.x, not 2.x because it would take so much time for us to maintain two branches. Nutch 1.x has many bug fixes and many new features and plugins. Nutch 2.x has awesome flexible storage, but lacks many features that have been added to 1.x. On the bright side, a good number of cool features in 1.x are plugins which are easier to port ?

环境

CentOS 7.6
JDK 1.8
Nutch 1.15
Solr 8.2.0

安装过程

JAVA_HOME

export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
export CLASSPATH=.: J A V A H O M E / j r e / l i b / r t . j a r : JAVA_HOME/jre/lib/rt.jar: JAVAHOME/jre/lib/rt.jar:JAVA_HOME/lib/dt.jar: J A V A H O M E / l i b / t o o l s . j a r e x p o r t P A T H = JAVA_HOME/lib/tools.jar export PATH= JAVAHOME/lib/tools.ja

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值