lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2513) Allow to subclass org.apache.solr.response.XMLWriter
Date Fri, 13 May 2011 18:59:47 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033215#comment-13033215
] 

Ryan McKinley commented on SOLR-2513:
-------------------------------------

ResponseWriters in general are pretty ugly....

maybe just mark @lucene.internal

and let people subclass at their own risk.  The likelyhood of this getting a real cleanup
soon is pretty low

> 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/%3CBANLkTin4mXiyBZW3CK-K4Gwq4O6nnC2gWQ@mail.gmail.com%3E


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message