<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Solrj &#8211; A short guide to getting started with Solrj</title>
	<atom:link href="http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/feed/" rel="self" type="application/rss+xml" />
	<link>http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/</link>
	<description>Where desperate is just another word for a regular day.</description>
	<lastBuildDate>Tue, 07 Feb 2012 10:11:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: bing</title>
		<link>http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/comment-page-1/#comment-6882</link>
		<dc:creator>bing</dc:creator>
		<pubDate>Tue, 31 Jan 2012 09:43:02 +0000</pubDate>
		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=4#comment-6882</guid>
		<description>Hi, Mats, 

I have been using Solr for several months, but only recently I want to use SolrJ to access Solr. 
I can understand most parts in your post, and I really want to have a try of the sc you posted; probably change it somehow to cater my needs. My problem is, I am not sure how to make the sc running. Say I have downloaded apache-solr-3.5.0-src, SolrJ included, where should I put the sc in the package? Can you give some hints or description of steps? Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Hi, Mats, </p>
<p>I have been using Solr for several months, but only recently I want to use SolrJ to access Solr.<br />
I can understand most parts in your post, and I really want to have a try of the sc you posted; probably change it somehow to cater my needs. My problem is, I am not sure how to make the sc running. Say I have downloaded apache-solr-3.5.0-src, SolrJ included, where should I put the sc in the package? Can you give some hints or description of steps? Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Is there a good tutorial or resource available on SolrJ? [closed] &#124; Q&#38;A System</title>
		<link>http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/comment-page-1/#comment-6814</link>
		<dc:creator>Is there a good tutorial or resource available on SolrJ? [closed] &#124; Q&#38;A System</dc:creator>
		<pubDate>Mon, 09 Jan 2012 23:45:37 +0000</pubDate>
		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=4#comment-6814</guid>
		<description>[...] are numerous blogs like these which would get you began with SolrJ but no remarkable [...]</description>
		<content:encoded><![CDATA[<p>[...] are numerous blogs like these which would get you began with SolrJ but no remarkable [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo</title>
		<link>http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/comment-page-1/#comment-6085</link>
		<dc:creator>Eduardo</dc:creator>
		<pubDate>Mon, 14 Nov 2011 14:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=4#comment-6085</guid>
		<description>After playing a little bit more with SolrJ and also check some other documentation (for example the http://www.solrtutorial.com/, which gives a good overview on how to configure schema.xml and solrconfig.xml) I think there are not many other things to present as introduction to SolrJ. 

However, I am working with Solr for 1 week, and for sure I will encounter some other problems... When this happens I will let you know...

Cheers!</description>
		<content:encoded><![CDATA[<p>After playing a little bit more with SolrJ and also check some other documentation (for example the <a href="http://www.solrtutorial.com/" rel="nofollow">http://www.solrtutorial.com/</a>, which gives a good overview on how to configure schema.xml and solrconfig.xml) I think there are not many other things to present as introduction to SolrJ. </p>
<p>However, I am working with Solr for 1 week, and for sure I will encounter some other problems&#8230; When this happens I will let you know&#8230;</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mats</title>
		<link>http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/comment-page-1/#comment-5949</link>
		<dc:creator>Mats</dc:creator>
		<pubDate>Thu, 10 Nov 2011 10:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=4#comment-5949</guid>
		<description>Thank you for the update, the example has been corrected now! I don&#039;t have any suggestions of other resources, but if there&#039;s anything particular you want me to dig into, it&#039;d be great to hear what people are missing. I&#039;ve been wanting to do a part 2, but have never found the time.</description>
		<content:encoded><![CDATA[<p>Thank you for the update, the example has been corrected now! I don&#8217;t have any suggestions of other resources, but if there&#8217;s anything particular you want me to dig into, it&#8217;d be great to hear what people are missing. I&#8217;ve been wanting to do a part 2, but have never found the time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo</title>
		<link>http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/comment-page-1/#comment-5948</link>
		<dc:creator>Eduardo</dc:creator>
		<pubDate>Thu, 10 Nov 2011 10:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=4#comment-5948</guid>
		<description>Very nice introduction, I learned a lot :)

I will now be looking on other tutorials/references for more advanced features! Can you please give some pointers of other documentation? I did not find much about SolrJ.

Just a quick correction on a code snippet you show on the tutorial. There is a variable name (facetEntries) out of place in:
&quot;
List facetEntries = facet.getValues();
&quot;
This is just fine in the file for download.

Thank you! Cheers!</description>
		<content:encoded><![CDATA[<p>Very nice introduction, I learned a lot :)</p>
<p>I will now be looking on other tutorials/references for more advanced features! Can you please give some pointers of other documentation? I did not find much about SolrJ.</p>
<p>Just a quick correction on a code snippet you show on the tutorial. There is a variable name (facetEntries) out of place in:<br />
&#8221;<br />
List facetEntries = facet.getValues();<br />
&#8221;<br />
This is just fine in the file for download.</p>
<p>Thank you! Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anil</title>
		<link>http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/comment-page-1/#comment-5921</link>
		<dc:creator>Anil</dc:creator>
		<pubDate>Mon, 31 Oct 2011 10:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=4#comment-5921</guid>
		<description>When I do rsp.toString() it is giving me the result in javabin format. Following is what I am getting.

{responseHeader={status=0,QTime=2,params={start=0,q=agencyId:1,wt=[javabin, javabin],rows=1000000,version=2}},response={numFound=1,start=0,docs=[SolrDocument[{agencyId=1, agencyName=Agency One, hostId=2, hostName=Host Two, subOrgId=3, subOrgName=SubOrg Three}]]}}

I want the same string in Json format. Even though I have done query.set(&quot;wt&quot;,&quot;json&quot;), I am getting in this format. Am I doing anything wrong here?</description>
		<content:encoded><![CDATA[<p>When I do rsp.toString() it is giving me the result in javabin format. Following is what I am getting.</p>
<p>{responseHeader={status=0,QTime=2,params={start=0,q=agencyId:1,wt=[javabin, javabin],rows=1000000,version=2}},response={numFound=1,start=0,docs=[SolrDocument[{agencyId=1, agencyName=Agency One, hostId=2, hostName=Host Two, subOrgId=3, subOrgName=SubOrg Three}]]}}</p>
<p>I want the same string in Json format. Even though I have done query.set(&#8220;wt&#8221;,&#8221;json&#8221;), I am getting in this format. Am I doing anything wrong here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mats</title>
		<link>http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/comment-page-1/#comment-5917</link>
		<dc:creator>Mats</dc:creator>
		<pubDate>Sun, 30 Oct 2011 09:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=4#comment-5917</guid>
		<description>Ah, sorry. 

No, I don&#039;t think there&#039;s a way of directly getting the JSONResponse through SolrJ. As far as I can see there&#039;s no way of getting the stream to read from the query or the raw output from the query before parsing in SolrJ.</description>
		<content:encoded><![CDATA[<p>Ah, sorry. </p>
<p>No, I don&#8217;t think there&#8217;s a way of directly getting the JSONResponse through SolrJ. As far as I can see there&#8217;s no way of getting the stream to read from the query or the raw output from the query before parsing in SolrJ.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anil</title>
		<link>http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/comment-page-1/#comment-5916</link>
		<dc:creator>Anil</dc:creator>
		<pubDate>Sat, 29 Oct 2011 14:20:50 +0000</pubDate>
		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=4#comment-5916</guid>
		<description>Thanks a ton Mats, for the lightning fast reply.

From what I got from that page, it is only mentioned that if append &quot;wt=json&quot; to the url we will get the response as json. But my problem is how do I get the same json in my java code. Currently I am doing some thing like this.

QueryResponse rsp = solrServer.query(query, SolrRequest.METHOD.POST);
List results = rsp.getBeans(AbstractSolrEntity.class);
String jsonResponse = convertBeansToJson(results);

Instead of doing all this, is there a way to directly get the jsonResponse from the solrServer/QueryResponse?

Thanks,
Anil.</description>
		<content:encoded><![CDATA[<p>Thanks a ton Mats, for the lightning fast reply.</p>
<p>From what I got from that page, it is only mentioned that if append &#8220;wt=json&#8221; to the url we will get the response as json. But my problem is how do I get the same json in my java code. Currently I am doing some thing like this.</p>
<p>QueryResponse rsp = solrServer.query(query, SolrRequest.METHOD.POST);<br />
List results = rsp.getBeans(AbstractSolrEntity.class);<br />
String jsonResponse = convertBeansToJson(results);</p>
<p>Instead of doing all this, is there a way to directly get the jsonResponse from the solrServer/QueryResponse?</p>
<p>Thanks,<br />
Anil.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mats Lindh</title>
		<link>http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/comment-page-1/#comment-5915</link>
		<dc:creator>Mats Lindh</dc:creator>
		<pubDate>Sat, 29 Oct 2011 13:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=4#comment-5915</guid>
		<description>Hi Anil,

You can use &lt;a href=&quot;http://wiki.apache.org/solr/SolJSON&quot; rel=&quot;nofollow&quot;&gt;the SolrJSON output writer&lt;/a&gt; to get the output from Solr directly as JSON.

Hope that helps!

--mats</description>
		<content:encoded><![CDATA[<p>Hi Anil,</p>
<p>You can use <a href="http://wiki.apache.org/solr/SolJSON" rel="nofollow">the SolrJSON output writer</a> to get the output from Solr directly as JSON.</p>
<p>Hope that helps!</p>
<p>&#8211;mats</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anil</title>
		<link>http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/comment-page-1/#comment-5914</link>
		<dc:creator>Anil</dc:creator>
		<pubDate>Sat, 29 Oct 2011 12:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://push.lindh.no/~mats/wordpress/wordpress/?p=4#comment-5914</guid>
		<description>Hi Mats,

I want to read the data from Solr in Json format. Is there any way to directly read the Json string (instead of reading the data as Beans &amp; then converting them to Json)?

Thanks,
Anil.</description>
		<content:encoded><![CDATA[<p>Hi Mats,</p>
<p>I want to read the data from Solr in Json format. Is there any way to directly read the Json string (instead of reading the data as Beans &amp; then converting them to Json)?</p>
<p>Thanks,<br />
Anil.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

