Solr
  1. Solr
  2. SOLR-1957

Move VelocityResponseWriter from contrib/ to core

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: Response Writers
    • Labels:
      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.

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

        Activity

          People

          • Assignee:
            Robert Muir
            Reporter:
            Erik Hatcher
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development