I've implemented an application that connects my UI and SolrCloud. I want
to write a code that makes a search request to SolrCloud and I will send
result to my UI. I know that there are some examples about it by I want a
fast and really good way for it. One way I did:

ModifiableSolrParams params = new ModifiableSolrParams();
        params.set("q", "*:*");
        params.set("fl", "url lang");
        params.set("sort", "url desc");
params.set("start", start);
            QueryResponse response = lbHttpSolrServer.query(params);
            for (SolrDocument document : response.getResults()) {
...
}

I want to use CloudSolrServer. Is there any example that is really fast for
getting data from SolrCloud? (I can get data at any format, i.e. javabin. I
will process it at my bridge application and send it to UI)

Reply via email to