You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Apache Wiki <wi...@apache.org> on 2017/08/15 15:29:35 UTC

[Nutch Wiki] Update of "NutchTutorial" by SebastianNagel

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.

The "NutchTutorial" page has been changed by SebastianNagel:
https://wiki.apache.org/nutch/NutchTutorial?action=diff&rev1=86&rev2=87

Comment:
Solr 6.6.0

   * unzip to `$HOME/apache-solr`, we will now refer to this as `${APACHE_SOLR_HOME}`
   * create resources for a new nutch solr core `cp -r ${APACHE_SOLR_HOME}/server/solr/configsets/basic_configs ${APACHE_SOLR_HOME}/server/solr/configsets/nutch`
   * copy the nutch schema.xml into the `conf` directory `cp ${NUTCH_RUNTIME_HOME}/conf/schema.xml ${APACHE_SOLR_HOME}/server/solr/configsets/nutch/conf`
+  * make sure that there is no `managed-schema` "in the way": `rm ${APACHE_SOLR_HOME}/server/solr/configsets/nutch/conf/managed-schema`
   * start the solr server `${APACHE_SOLR_HOME}/bin/solr start`
   * create the nutch core `${APACHE_SOLR_HOME}/bin/solr create -c nutch -d server/solr/configsets/nutch/conf/`
+  * add the core name to the Solr server URL: `-Dsolr.server.url=http://localhost:8983/solr/nutch`
  
  = Verify Solr installation =
  After you started Solr admin console, you should be able to access the following links: