Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-442

FileFloatSource should read file from dataDir, not indexDir

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.3
    • search
    • None

    Description

      The FileFloatSource currently loads its file from the indexDir:

      parser.getReq().getCore().getIndexDir()

      This is a problem for an empty index since you get a FileNotFoundException.

      Rather then using indexDir, this should use getDataDir()

      Attachments

        1. SOLR-442-UseDataDir.patch
          2 kB
          Ryan McKinley

        Issue Links

          Activity

            People

              ryantxu Ryan McKinley
              ryantxu Ryan McKinley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: