lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mathewvino <vinojmat...@hotmail.com>
Subject SOLR retrieve data using URL
Date Mon, 02 Feb 2015 18:57:58 GMT
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.

Mime
View raw message