Hi List,

I am new to Solr and lucene world. I have a simple question. I wrote below
code segment and it works.

public class SolrjTest {


    public static void main(String[] args) throws MalformedURLException,
SolrServerException{
        ClassPathXmlApplicationContext c = new
ClassPathXmlApplicationContext("/patrades-search-solrj-test-beans.xml");
        SolrServer server = (SolrServer)c.getBean("solrServer");
        SolrQuery query = new SolrQuery();
        query.setQuery( "*:*" )
            .setFacet(true)
            ;
        QueryResponse rsp = server.query( query );
        System.err.println(rsp.toString());
    }
}


I want to indent the response string, but couldnt find any answer. I looked
at book, mail archive and google.  Most relevant link is below

http://wiki.apache.org/solr/SimpleFacetParameters

but i dont know how to use it. Api is hard to read by the way.

regards,

-Halil AĞIN

Reply via email to