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

Move VelocityResponseWriter from contrib/ to core

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 3.1, 4.0-ALPHA
    • Response Writers
    • None

    Description

      The VelocityResponseWriter deserves to be a first-class citizen in Solr, and not tacked on. The benefit is that UI can be generated right from Solr cleanly and easily via simple templating. The longer term goal is to migrate from the Solr admin interface from inflexible built-in JSPs to a cleaner layout Velocity set of templates that can be overridden externally if desired (for styling, or adding in plugin UI).

      Another large benefit to having VrW in core is that plugins can then ship with Velocity templates in their own .jar files to provide their own bits of UI or templated response capabilities (text fragments or full HTML responses).

      The impact of this change is a slightly larger solr.war with the additional Velocity dependencies added-in.

      Attachments

        1. SOLR-1957.patch
          13 kB
          Erik Hatcher
        2. debug.tiff
          314 kB
          Erik Hatcher
        3. SOLR-1957_3x.patch
          34 kB
          Robert Muir

        Activity

          People

            rcmuir Robert Muir
            ehatcher Erik Hatcher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: