[ http://issues.apache.org/jira/browse/SOLR-16?page=all ]
Mike Baranczak updated SOLR-16: ------------------------------- Attachment: OutputWriterTest.java I've incorporated all of of Hoss' suggestions. All the units tests are passing, and everything else looks good. I do like the idea of passing init parameters to the writer, but I unfortunately don't have time to work on it right now. (custom_writer_rev3.patch and OutputWriterTest.java should be applied together - disregard all other files attached to this issue.) > patch to allow the use of a custom query output writer > ------------------------------------------------------ > > Key: SOLR-16 > URL: http://issues.apache.org/jira/browse/SOLR-16 > Project: Solr > Type: New Feature > Components: search > Reporter: Mike Baranczak > Attachments: OutputWriterTest.java, custom_writer.patch, > custom_writer_rev2.patch, custom_writer_rev3.patch > > This patch allows users to create their own implementation of > QueryResponseWriter, and specify that class in solrconfig.xml. The default > behavior is to use XMLResponseWriter like before. The class selection code > only runs once at servlet init time, so it shouldn't have any measurable > effect on performance. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira