<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<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">
	<channel>
		<title>DataStax Support Forums &#187; Topic: POST /solr/KSP.COL/update/json  results in 404 &#38; &#34;resource not available&#34; msg</title>
		<link>http://www.datastax.com/support-forums/topic/post-solrupdatejson-results-in-404-resource-not-available-msg</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 07:41:27 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/post-solrupdatejson-results-in-404-resource-not-available-msg" rel="self" type="application/rss+xml" />

		<item>
			<title>tristanls on "POST /solr/KSP.COL/update/json  results in 404 &#38; &#34;resource not available&#34; msg"</title>
			<link>http://www.datastax.com/support-forums/topic/post-solrupdatejson-results-in-404-resource-not-available-msg#post-9351</link>
			<pubDate>Wed, 06 Mar 2013 13:20:52 +0000</pubDate>
			<dc:creator>tristanls</dc:creator>
			<guid isPermaLink="false">9351@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Success.&#60;/p&#62;
&#60;p&#62;Thank you both for taking a look and pointing out suggested solutions.&#60;/p&#62;
&#60;p&#62;Jack, I used #2 &#34;workaround&#34;, it seems as the most future-proof approach.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Tristan
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jack Krupansky on "POST /solr/KSP.COL/update/json  results in 404 &#38; &#34;resource not available&#34; msg"</title>
			<link>http://www.datastax.com/support-forums/topic/post-solrupdatejson-results-in-404-resource-not-available-msg#post-9342</link>
			<pubDate>Wed, 06 Mar 2013 06:21:40 +0000</pubDate>
			<dc:creator>Jack Krupansky</dc:creator>
			<guid isPermaLink="false">9342@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;We have fixes for both problems that will be in a future release. The good news is that they both have simple workarounds for right now.&#60;/p&#62;
&#60;p&#62;1. To use the /update/json request handler, simply insert any character between the &#34;j&#34; and &#34;s&#34; of &#34;json&#34; in the request handler name, such as:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;requestHandler name=&#38;quot;/update/j-son&#38;quot;
                  class=&#38;quot;solr.JsonUpdateRequestHandler&#38;quot;
                  startup=&#38;quot;lazy&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And then use that new name in your POST requests: &#60;code&#62;/update/j-son&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;2. To send any content type to the standard Solr &#60;code&#62;/update&#60;/code&#62; handler, simply remove the &#34;Xml&#34; at the beginning of the request handler class name:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;requestHandler name=&#38;quot;/update&#38;quot;
                  class=&#38;quot;solr.UpdateRequestHandler&#38;quot;&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The latter is actually the proper fix for the second problem.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jack Krupansky on "POST /solr/KSP.COL/update/json  results in 404 &#38; &#34;resource not available&#34; msg"</title>
			<link>http://www.datastax.com/support-forums/topic/post-solrupdatejson-results-in-404-resource-not-available-msg#post-9338</link>
			<pubDate>Tue, 05 Mar 2013 22:52:22 +0000</pubDate>
			<dc:creator>Jack Krupansky</dc:creator>
			<guid isPermaLink="false">9338@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I am able to reproduce the problem - we will look into it. Sorry for the inconvenience!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tristanls on "POST /solr/KSP.COL/update/json  results in 404 &#38; &#34;resource not available&#34; msg"</title>
			<link>http://www.datastax.com/support-forums/topic/post-solrupdatejson-results-in-404-resource-not-available-msg#post-9336</link>
			<pubDate>Tue, 05 Mar 2013 21:37:44 +0000</pubDate>
			<dc:creator>tristanls</dc:creator>
			<guid isPermaLink="false">9336@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I don't know what you mean. (speculation below follows)&#60;/p&#62;
&#60;p&#62;The error is 404, which indicates that the JSON Update Request Handler is not working, or is not being routed to correctly from &#60;code&#62;/update/json&#60;/code&#62;.  &#60;/p&#62;
&#60;p&#62;What in the Solr 4.0 example helps diagnose this?&#60;/p&#62;
&#60;p&#62;If you're suggesting that I should be using the &#60;code&#62;/update&#60;/code&#62; endpoint and set the &#60;code&#62;Content-Type:application/json&#60;/code&#62; then I did try that, and I have never seen that work. That endpoint is mapped to an XML request handler per the wikipedia demo &#60;code&#62;solrconfig.xml&#60;/code&#62;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rockbrain on "POST /solr/KSP.COL/update/json  results in 404 &#38; &#34;resource not available&#34; msg"</title>
			<link>http://www.datastax.com/support-forums/topic/post-solrupdatejson-results-in-404-resource-not-available-msg#post-9331</link>
			<pubDate>Tue, 05 Mar 2013 21:06:15 +0000</pubDate>
			<dc:creator>rockbrain</dc:creator>
			<guid isPermaLink="false">9331@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Can you try the Solr 4.0 example?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wiki.apache.org/solr/UpdateJSON#Solr_4.0_Example&#34; rel=&#34;nofollow&#34;&#62;http://wiki.apache.org/solr/UpdateJSON#Solr_4.0_Example&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tristanls on "POST /solr/KSP.COL/update/json  results in 404 &#38; &#34;resource not available&#34; msg"</title>
			<link>http://www.datastax.com/support-forums/topic/post-solrupdatejson-results-in-404-resource-not-available-msg#post-9327</link>
			<pubDate>Tue, 05 Mar 2013 19:32:55 +0000</pubDate>
			<dc:creator>tristanls</dc:creator>
			<guid isPermaLink="false">9327@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;DSE-3&#60;/p&#62;
&#60;p&#62;Relevant part from &#60;code&#62;solrconfig.xml&#60;/code&#62; (lifted it from &#60;code&#62;dse/demos/wikipedia/solrconfig.xml&#60;/code&#62;)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;!-- JSON Update Request Handler
       &#60;a href=&#34;http://wiki.apache.org/solr/UpdateJSON&#34; rel=&#34;nofollow&#34;&#62;http://wiki.apache.org/solr/UpdateJSON&#60;/a&#62;
    --&#38;gt;
  &#38;lt;requestHandler name=&#38;quot;/update/json&#38;quot;
                  class=&#38;quot;solr.JsonUpdateRequestHandler&#38;quot;
                  startup=&#38;quot;lazy&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It's frustrating because seemingly every other &#60;code&#62;/update&#60;/code&#62; url responds:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;/update&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;/update/csv&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;/update/extract&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;/update/javabin&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;/update/xslt&#60;/code&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
