[
https://issues.apache.org/jira/browse/SOLR-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033207#comment-13033207
]
Hoss Man commented on SOLR-2513:
--------------------------------
there was some discussion about this in the past.
the crux of the concern was that the API is really ugly and wide open and never
really intended for general use (i think the class was initially a static
private inner class of the XmlResponseWriter before some refactoring) and it
should probably be cleaned up before encouraging general use from people who
write plugins
> Allow to subclass org.apache.solr.response.XMLWriter
> -----------------------------------------------------
>
> Key: SOLR-2513
> URL: https://issues.apache.org/jira/browse/SOLR-2513
> Project: Solr
> Issue Type: Improvement
> Components: Response Writers
> Reporter: Gabriele Kahlout
> Assignee: Ryan McKinley
> Priority: Trivial
> Attachments: SOLR-2513.patch
>
> Original Estimate: 1m
> Remaining Estimate: 1m
>
> 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/%[email protected]%3E
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]