You don't have to use SolrJ. It's just a web request to a url, so just issue the request in Java and parse the JSON response.
http://stackoverflow.com/questions/7467568/parsing-json-from-url SolrJ does make it simpler, however. Jim On 2/2/15, 12:57 PM, "mathewvino" <vinojmat...@hotmail.com> wrote: >Hi There, > >I am using solrj API to make call to Solr Server with the data that I am >looking for. Basically I am using >solrj api as below to get the data. Everything is working as expected > >HttpSolrServer solr = new >HttpSolrServer("http://server:8983/solr/collection1"); >SolrQuery query = new SolrQuery("*:*"); >query.setFacet(true).addFacetField("PLS_SURVY_SURVY_STATUS_MAP") > >Is there any API I can use the complete URL to get the data like below > >HttpSolrServer solr = new >HttpSolrServer("http://server:8983/solr/collection1/select?q=*%3A*&wt=json >&indent=true&facet=true&facet.field=PLS_SURVY_SURVY_LANG_CHOICE_MAP") > >I would like to pass the complete url to get the data insted of using >solrj >query api. > >Thanks > > > > > > >-- >View this message in context: >http://lucene.472066.n3.nabble.com/SOLR-retrieve-data-using-URL-tp4183536. >html >Sent from the Solr - User mailing list archive at Nabble.com.