Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-1826

indexchecker fails if solr.server.url not configured

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9
    • 1.10
    • indexer
    • None
    • Patch Available

    Description

      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).

      % 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)
      

      Attachments

        1. NUTCH-1826.patch
          1 kB
          Sebastian Nagel

        Issue Links

          Activity

            People

              Unassigned Unassigned
              snagel Sebastian Nagel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: