[
https://issues.apache.org/jira/browse/NUTCH-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14183906#comment-14183906
]
Mengying Wang edited comment on NUTCH-1826 at 10/25/14 3:56 AM:
----------------------------------------------------------------
Hi Sebastian, never mind, I have solved it by using the command:
./nutch indexchecker -D solr.server.url=http://localhost:8983/solr/collection1
http://www.master.netseven.it/files/262-Nutch.pdf Thank you!
was (Author: angela_wang):
Hi Sebastian, never mind, I have solved it by using the command:
./nutch indexchecker -D solr.server.url=http://localhost:8983/solr/collection1
http://www.master.netseven.it/files/262-Nutch.pdf
Thank you!
> indexchecker fails if solr.server.url not configured
> ----------------------------------------------------
>
> Key: NUTCH-1826
> URL: https://issues.apache.org/jira/browse/NUTCH-1826
> Project: Nutch
> Issue Type: Bug
> Components: indexer
> Affects Versions: 1.9
> Reporter: Sebastian Nagel
> Priority: Minor
> Fix For: 1.10
>
> Attachments: NUTCH-1826.patch
>
>
> IndexingFiltersChecker fails unnecessarily with an exception if indexer-solr
> is among plugin.includes but solr.server.url is not configured. Even without
> {{-DdoIndex}} (cf. NUTCH-1758).
> {code}
> % nutch indexchecker http://localhost/
> fetching: http://localhost/
> Exception in thread "main" java.lang.RuntimeException: Missing SOLR URL.
> Should be set via -D solr.server.url
> ...
> at o.a.n.indexer.IndexingFiltersChecker.run(IndexingFiltersChecker.java:98)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)