Class TextResponseWriter

    • Method Detail

      • doIndent

        public boolean doIndent()
        Specified by:
        doIndent in interface org.apache.solr.common.util.TextWriter
      • getWriter

        public Writer getWriter()
        returns the Writer that the response is being written to
        Specified by:
        getWriter in interface org.apache.solr.common.util.TextWriter
      • setLevel

        public void setLevel​(int level)
      • level

        public int level()
        Specified by:
        level in interface org.apache.solr.common.util.TextWriter
      • incLevel

        public int incLevel()
        Specified by:
        incLevel in interface org.apache.solr.common.util.TextWriter
      • decLevel

        public int decLevel()
        Specified by:
        decLevel in interface org.apache.solr.common.util.TextWriter
      • setIndent

        public TextResponseWriter setIndent​(boolean doIndent)
        Specified by:
        setIndent in interface org.apache.solr.common.util.TextWriter
      • writeVal

        public final void writeVal​(String name,
                                   Object val,
                                   boolean raw)
                            throws IOException
        Specified by:
        writeVal in interface org.apache.solr.common.util.TextWriter
        Throws:
        IOException
      • writeStartDocumentList

        public abstract void writeStartDocumentList​(String name,
                                                    long start,
                                                    int size,
                                                    long numFound,
                                                    Float maxScore,
                                                    Boolean numFoundExact)
                                             throws IOException
        Throws:
        IOException