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

Allow to subclass org.apache.solr.response.XMLWriter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • Response Writers
    • None

    Description

      Hacking/debugging/extending Solr with one's own ResponseWriter one might want to inherit functionality from XMLWriter. A trivial example is overriding writeDate(..) to use a different calendar/format.

      I asked about why it's made final on the mailing list[1].

      [1] http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201105.mbox/%3CBANLkTin4mXiyBZW3CK-K4Gwq4O6nnC2gWQ@mail.gmail.com%3E

      Attachments

        1. SOLR-2513-XMLWriter.patch
          2 kB
          Ryan McKinley
        2. SOLR-2513.patch
          2 kB
          Ryan McKinley

        Activity

          People

            ryantxu Ryan McKinley
            simpatico Gabriele Kahlout
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified