Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nutch message "No IndexWriters activated" while loading to solr

Tags:

solr

nutch

I have run nutch crawler as per nutch tutorial http://wiki.apache.org/nutch/NutchTutorial but when i started loading it to solr i am getting this message i.e. "No IndexWriters activated - check your configuration"

bin/nutch solrindex http://localhost:8983/solr crawl/crawldb/ -dir crawl/segments/
Indexer: starting at 2013-07-15 08:09:13
Indexer: deleting gone documents: false
Indexer: URL filtering: false
Indexer: URL normalizing: false
**No IndexWriters activated - check your configuration**

Indexer: finished at 2013-07-15 08:09:21, elapsed: 00:00:07
like image 468
Subodh Gupta Avatar asked Jul 15 '13 08:07

Subodh Gupta


2 Answers

Make sure that the plugin indexer-solr is included. Go to the file: conf/nutch-site.xml and in the property plugin.includes add the plugin, for instance:

protocol-http|urlfilter-regex|parse-(html|tika)|index-(basic|anchor)|indexer-solr|scoring-opic|urlnormalizer-(pass|regex|basic)

After adding the plugin the No IndexWriters activated - check your configuration warning disappeared in my case.

Check this thread: http://lucene.472066.n3.nabble.com/a-plugin-extending-IndexWriter-td4074353.html

like image 81
mgfernan Avatar answered Nov 07 '22 17:11

mgfernan


@Tryskele + @Scott101 worked for me:

add plugin.includes property to both /conf/nutch-site.xml and runtime/local/conf/nutch-site.xml files:

<property>
  <name>plugin.includes</name>
  <value>protocol-httpclient|urlfilter-regex|index-(basic|more)|query-(basic|site|url|lang)|indexer-solr|nutch-extensionpoints|protocol-httpclient|urlfilter-regex|parse-(text|html|msexcel|msword|mspowerpoint|pdf)|summary-basic|scoring-opic|urlnormalizer-(pass|regex|basic)protocol-http|urlfilter-regex|parse-(html|tika|metatags)|index-(basic|anchor|more|metadata)</value>
</property>
like image 32
ggmoriyon Avatar answered Nov 07 '22 16:11

ggmoriyon