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

Create UpdateFileRequestHandler

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: 1.4.1
    • Fix Version/s: 4.9, 6.0
    • Component/s: update

      Description

      It would be nice to be able to update files like synonyms.txt and stopwords.txt with a seperrat request handler. Since i am very new to solr development i've prepared a patch with a new UpdateFileRequest handler. Maybe it would be good to refactor the existing fileRequestHandler.

      Currently it is implemented that you need to whitelist all files which should be editable. I think this is better for security reasons.

        Attachments

        1. UpdateFileRequestHandler.patch
          7 kB
          Timo Hund
        2. patchV2.diff
          10 kB
          Timo Hund

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              timo.schmidt Timo Hund
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified