Solr
  1. Solr
  2. SOLR-442

FileFloatSource should read file from dataDir, not indexDir

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: search
    • Labels:
      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()

        Issue Links

          Activity

          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Ryan McKinley made changes -
          Assignee Ryan McKinley [ ryantxu ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Ryan McKinley made changes -
          Link This issue relates to SOLR-433 [ SOLR-433 ]
          Ryan McKinley made changes -
          Field Original Value New Value
          Attachment SOLR-442-UseDataDir.patch [ 12372047 ]
          Ryan McKinley created issue -

            People

            • Assignee:
              Ryan McKinley
              Reporter:
              Ryan McKinley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development