Package | Description |
---|---|
org.apache.solr.core |
Core classes implementing Solr internals and the management of
SolrCore s |
org.apache.solr.response |
API and implementations of
QueryResponseWriter for formatting Solr request responses |
org.apache.solr.servlet |
Servlet related classes for powering the Solr HTTP API
|
Modifier and Type | Field and Description |
---|---|
static Map<String,QueryResponseWriter> |
SolrCore.DEFAULT_RESPONSE_WRITERS |
Modifier and Type | Method and Description |
---|---|
QueryResponseWriter |
SolrCore.getQueryResponseWriter(SolrQueryRequest request)
Returns the appropriate writer for a request.
|
QueryResponseWriter |
SolrCore.getQueryResponseWriter(String writerName)
Finds a writer by name, or returns the default writer if not found.
|
QueryResponseWriter |
SolrCore.registerResponseWriter(String name,
QueryResponseWriter responseWriter)
NOTE: this function is not thread safe.
|
Modifier and Type | Method and Description |
---|---|
PluginBag<QueryResponseWriter> |
SolrCore.getResponseWriters() |
Modifier and Type | Method and Description |
---|---|
QueryResponseWriter |
SolrCore.registerResponseWriter(String name,
QueryResponseWriter responseWriter)
NOTE: this function is not thread safe.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BinaryQueryResponseWriter
Implementations of
BinaryQueryResponseWriter are used to
write response in binary format. |
Modifier and Type | Class and Description |
---|---|
class |
BinaryResponseWriter |
class |
CSVResponseWriter
Response writer for csv data
|
class |
GeoJSONResponseWriter
Extend the standard JSONResponseWriter to support GeoJSON.
|
class |
GraphMLResponseWriter |
class |
JSONResponseWriter |
class |
PHPResponseWriter |
class |
PHPSerializedResponseWriter
A description of the PHP serialization format can be found here:
http://www.hurring.com/scott/code/perl/serialize/
|
class |
PythonResponseWriter |
class |
RawResponseWriter
Writes a ContentStream directly to the output.
|
class |
RubyResponseWriter |
class |
SchemaXmlResponseWriter |
class |
SmileResponseWriter |
class |
XMLResponseWriter |
class |
XSLTResponseWriter
QueryResponseWriter which captures the output of the XMLWriter
(in memory for now, not optimal performancewise), and applies an XSLT transform
to it.
|
Modifier and Type | Method and Description |
---|---|
protected QueryResponseWriter |
RawResponseWriter.getBaseWriter(SolrQueryRequest request) |
Modifier and Type | Method and Description |
---|---|
static void |
QueryResponseWriterUtil.writeQueryResponse(OutputStream outputStream,
QueryResponseWriter responseWriter,
SolrQueryRequest solrRequest,
SolrQueryResponse solrResponse,
String contentType)
Writes the response writer's result to the given output stream.
|
Modifier and Type | Method and Description |
---|---|
protected QueryResponseWriter |
HttpSolrCall.getResponseWriter()
Returns
QueryResponseWriter to be used. |
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.