|
--
You received this message because you are subscribed to the Google Groups "SolrNet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to solrnet+u...@googlegroups.com.
To post to this group, send email to sol...@googlegroups.com.
Visit this group at http://groups.google.com/group/solrnet.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to solrnet+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/solrnet.
using (var webClient = new System.Net.WebClient()){webClient.Encoding = Encoding.UTF8;webClient.UseDefaultCredentials = true;webClient.Credentials = CredentialCache.DefaultCredentials;var json = webClient.DownloadString("http://localhost:8983/solr/guidanceDoc/select?q="+ searchkey + "&hl=on&hl.fl=_text_&hl.fragsize=200&rows=20&fl=id,resourcename,score,title&wt=json");JObject obj = JObject.Parse(json);JObject resp = JObject.Parse(obj["response"].ToString());JObject hilights = JObject.Parse(obj["highlighting"].ToString());Label1.Text = "Search key: " + searchkey + " <br>Total documents found : " + resp["numFound"].ToString() +"<br>Maximum score : " + resp["maxScore"].ToString() + "<br>Showing maximum top 20 results (if available).";
--
You received this message because you are subscribed to a topic in the Google Groups "SolrNet" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/solrnet/V0ZB6sJa5bA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to solrnet+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/solrnet.
--Mauricio
To unsubscribe from this group and all its topics, send an email to solrnet+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/solrnet.
For more options, visit https://groups.google.com/d/optout.
--Regards,Tanvir Ahmed