co.diji.solr
Class SolrResponseWriter
java.lang.Object
co.diji.solr.SolrResponseWriter
public class SolrResponseWriter
- extends Object
Class to handle sending responses to Solr clients.
Supports xml and javabin formats.
|
Field Summary |
protected org.elasticsearch.common.logging.ESLogger |
logger
|
|
Method Summary |
void |
writeResponse(org.apache.solr.common.util.NamedList<Object> obj,
org.elasticsearch.rest.RestRequest request,
org.elasticsearch.rest.RestChannel channel)
Serializes the NamedList in the specified output format and sends it to the Solr Client. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.elasticsearch.common.logging.ESLogger logger
SolrResponseWriter
public SolrResponseWriter()
writeResponse
public void writeResponse(org.apache.solr.common.util.NamedList<Object> obj,
org.elasticsearch.rest.RestRequest request,
org.elasticsearch.rest.RestChannel channel)
- Serializes the NamedList in the specified output format and sends it to the Solr Client.
- Parameters:
obj - the NamedList response to serializerequest - the ES RestRequestchannel - the ES RestChannel
Copyright © 2011-2012. All Rights Reserved.