[jira] [Commented] (SOLR-11735) TransformerFactory to support SolrCoreAware
[ https://issues.apache.org/jira/browse/SOLR-11735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526239#comment-16526239 ] Markus Jelsma commented on SOLR-11735: -- Thanks [~hlavki]! Now i can finally run unit test without packaging my own Solr patched artifact. > TransformerFactory to support SolrCoreAware > --- > > Key: SOLR-11735 > URL: https://issues.apache.org/jira/browse/SOLR-11735 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 7.1 >Reporter: Markus Jelsma >Priority: Major > Fix For: master (8.0) > > Attachments: SOLR-11735.patch > > > Currently TransformerFactory does not support SolrCoreAware due to SOLR-8311. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11735) TransformerFactory to support SolrCoreAware
[ https://issues.apache.org/jira/browse/SOLR-11735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16480261#comment-16480261 ] Michal Hlavac commented on SOLR-11735: -- As workaround you can use: {code:java} import java.io.IOException; import java.io.Writer; import org.apache.solr.request.SolrQueryRequest; import org.apache.solr.response.QueryResponseWriter; import org.apache.solr.response.SolrQueryResponse; import org.apache.solr.response.transform.TransformerFactory; import org.apache.solr.util.plugin.SolrCoreAware; /** * Workaround class for SOLR-11735 */ public abstract class ResourceAwareTransformerFactory extends TransformerFactory implements QueryResponseWriter, SolrCoreAware { @Override public final void write(Writer writer, SolrQueryRequest request, SolrQueryResponse response) throws IOException { throw new UnsupportedOperationException("Not supported yet."); } @Override public final String getContentType(SolrQueryRequest request, SolrQueryResponse response) { throw new UnsupportedOperationException("Not supported yet."); } } {code} > TransformerFactory to support SolrCoreAware > --- > > Key: SOLR-11735 > URL: https://issues.apache.org/jira/browse/SOLR-11735 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 7.1 >Reporter: Markus Jelsma >Priority: Major > Fix For: master (8.0) > > Attachments: SOLR-11735.patch > > > Currently TransformerFactory does not support SolrCoreAware due to SOLR-8311. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11735) TransformerFactory to support SolrCoreAware
[ https://issues.apache.org/jira/browse/SOLR-11735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16337549#comment-16337549 ] Markus Jelsma commented on SOLR-11735: -- Any comments? I sure would like to support SolrCoreAware here and see no reason not to support this. Thanks! > TransformerFactory to support SolrCoreAware > --- > > Key: SOLR-11735 > URL: https://issues.apache.org/jira/browse/SOLR-11735 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 7.1 >Reporter: Markus Jelsma >Priority: Major > Fix For: master (8.0) > > Attachments: SOLR-11735.patch > > > Currently TransformerFactory does not support SolrCoreAware due to SOLR-8311. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11735) TransformerFactory to support SolrCoreAware
[ https://issues.apache.org/jira/browse/SOLR-11735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16300063#comment-16300063 ] Markus Jelsma commented on SOLR-11735: -- Any comments on this? We are using this now and it doesn't appear to cause any troubles. > TransformerFactory to support SolrCoreAware > --- > > Key: SOLR-11735 > URL: https://issues.apache.org/jira/browse/SOLR-11735 > Project: Solr > Issue Type: Task > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 7.1 >Reporter: Markus Jelsma > Fix For: master (8.0) > > Attachments: SOLR-11735.patch > > > Currently TransformerFactory does not support SolrCoreAware due to SOLR-8311. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org