I am using:
bin/nutch solrindex http://localhost:8983/solr -index
bin/nutch solrindex http://localhost:8983/solr -reindex
I don't get this error anymore. By the wy who sets jetty.port?
2013/3/24 Jan Høydahl
> How have you setup Nutch to index to Solr? Are you running this over HTTP
> between t
How have you setup Nutch to index to Solr? Are you running this over HTTP
between two different servers?
The jetty.port is a silly name, but you can rename it anything you like. Its
only task is to select which port to start an embedded ZooKeeper at if you use
-DzkRun. If you don't, just forget
Hi Jan;
I will check the jar versions. By the way I think that I should create a
solr home directory for my application (my application is that: I use Nutch
to crawl web sites and use Solr to index them). Which folder from Solr
sources code folders (maybe lucene-solr/solr/example/example-DIH/solr?
Are you 100% sure you use the exact jars for 4.1.0 *everywhere*, and that
you're not blending older versions from the Nutch distro in your classpath here?
> Any ideas?
BTW: What was your question here regarding Jetty vs Tomcat?
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominve
I just indicated that JVM parameter:
-Dsolr.solr.home=/home/projects/lucene-solr/solr/solr_home
solr_home is where is my config files etc. stands. My solr.xml has that
lines:
On the other hand I run it from my tomcat without using example embedded
jetty start.jar.
Any ideas?
2013/3/
I use Solr 4.1.0 and Nutch 2.1, Java 1.7.0_17, Tomcat 7.0, Intellij IDEA
12.with a Centos 6.4 at my 64 bit computer.
I run that command succesfully:
bin/nutch solrindex http://localhost:8080/solr -index
However when I run that command:
bin/nutch solrindex http://localhost:8080/solr -reindex
I