List of usage examples for org.apache.solr.response QueryResponseWriter interface-usage
From source file lux.solr.LuxResponseWriter.java
/**
* Writes out the result of Lux evaluations
*
* lux.contentType controls the response's content-type header, and the serialization
* of nodes: default is html. Output is always serialized as utf-8.
*
From source file net.hasor.search.server.writer.HtmlQueryResponseWriter.java
/** * * @version : 2015122 * @author (zyc@hasor.net) */ public class HtmlQueryResponseWriter implements QueryResponseWriter {
From source file net.yacy.cora.federate.solr.responsewriter.EnhancedXMLResponseWriter.java
public class EnhancedXMLResponseWriter implements QueryResponseWriter { private static final char lb = '\n'; private static final char[] XML_START = "<?xml version = \"1.0\" encoding = \"UTF-8\"?>\n<response>\n" .toCharArray(); private static final char[] XML_STOP = "\n</response>\n".toCharArray();
From source file net.yacy.cora.federate.solr.responsewriter.FlatJSONResponseWriter.java
public class FlatJSONResponseWriter implements QueryResponseWriter, EmbeddedSolrResponseWriter { private static final char lb = '\n'; private boolean elasticsearchBulkRequest;
From source file net.yacy.cora.federate.solr.responsewriter.GrepHTMLResponseWriter.java
/**
* this response writer shows a list of documents with the lines containing matches
* of the search request in 'grep-style', which means it is like doing a grep on a set
* of files. Within the result list, the document is splitted into the sentences of the
* text part and each sentence is shown as separate line. grep attributes can be used to
* show leading and trainling lines.
From source file net.yacy.cora.federate.solr.responsewriter.GSAResponseWriter.java
/** * implementation of a GSA search result. * example: GET /gsa/searchresult?q=chicken+teriyaki&output=xml&client=test&site=test&sort=date:D:S:d1 * for a xml reference, see https://developers.google.com/search-appliance/documentation/614/xml_reference */ public class GSAResponseWriter implements QueryResponseWriter {
From source file net.yacy.cora.federate.solr.responsewriter.HTMLResponseWriter.java
public class HTMLResponseWriter implements QueryResponseWriter { private static final Set<String> DEFAULT_FIELD_LIST = null; public static final Pattern dqp = Pattern.compile("\""); public HTMLResponseWriter() {
From source file net.yacy.cora.federate.solr.responsewriter.OpensearchResponseWriter.java
public class OpensearchResponseWriter implements QueryResponseWriter { // define a list of simple YaCySchema -> RSS Token matchings private static final Map<String, String> field2tag = new HashMap<String, String>(); // pre-select a set of YaCy schema fields for the solr searcher which should cause a better caching
From source file net.yacy.cora.federate.solr.responsewriter.YJsonResponseWriter.java
/** * write the opensearch result in YaCys special way to include as much as in opensearch is included. * This will also include YaCy facets. */ public class YJsonResponseWriter implements QueryResponseWriter {
From source file org.orcid.solr.writer.OrcidProfileResponseWriter.java
/** * * @author Will Simpson * */ public class OrcidProfileResponseWriter implements QueryResponseWriter {