<?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: Not Solr Based Type</title>
		<link>http://www.datastax.com/support-forums/topic/not-solr-based-type</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Tue, 21 May 2013 20:11:01 +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/not-solr-based-type" rel="self" type="application/rss+xml" />

		<item>
			<title>tjake on "Not Solr Based Type"</title>
			<link>http://www.datastax.com/support-forums/topic/not-solr-based-type#post-2323</link>
			<pubDate>Fri, 22 Jun 2012 13:38:08 +0000</pubDate>
			<dc:creator>tjake</dc:creator>
			<guid isPermaLink="false">2323@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;No you can only have one index per column. one option is to duplicate the column under a different name
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Not Solr Based Type"</title>
			<link>http://www.datastax.com/support-forums/topic/not-solr-based-type#post-2317</link>
			<pubDate>Fri, 22 Jun 2012 11:43:33 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">2317@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Yes i do have existing index in the column family. Is it not possible to work with both the indexes?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Not Solr Based Type"</title>
			<link>http://www.datastax.com/support-forums/topic/not-solr-based-type#post-2285</link>
			<pubDate>Thu, 21 Jun 2012 19:13:32 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">2285@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Abhijitchanda,&#60;/p&#62;
&#60;p&#62;Do you have an existing index on that column family?  If so can you try removing it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Not Solr Based Type"</title>
			<link>http://www.datastax.com/support-forums/topic/not-solr-based-type#post-2226</link>
			<pubDate>Tue, 19 Jun 2012 04:09:53 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">2226@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I am using datastax enterprise editions 2.1 latest feature solr. I have a keyspace name ABC and columnfamily namely XYZ.&#60;br /&#62;
I want to search using solr on the field A_NO which is UTF8Type in nature. For that i have created a schema.xml in my solr node. It looks like this:&#60;/p&#62;
&#60;p&#62; &#38;lt;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34; ?&#38;gt;&#60;/p&#62;
&#60;p&#62;        &#38;lt;schema name=&#34;ABC&#34; version=&#34;1.1&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;types&#38;gt;&#60;br /&#62;
          &#38;lt;fieldType name=&#34;text&#34; class=&#34;solr.TextField&#34;/&#38;gt;&#60;br /&#62;
         &#38;lt;/types&#38;gt;&#60;br /&#62;
         &#38;lt;fields&#38;gt;&#60;br /&#62;
            &#38;lt;field name=&#34;A_NO&#34;  type=&#34;text&#34; indexed=&#34;true&#34;  stored=&#34;true&#34;/&#38;gt;&#60;br /&#62;
         &#38;lt;/fields&#38;gt;&#60;/p&#62;
&#60;p&#62;        &#38;lt;uniqueKey&#38;gt;A_NO&#38;lt;/uniqueKey&#38;gt;&#60;br /&#62;
        &#38;lt;/schema&#38;gt;&#60;/p&#62;
&#60;p&#62;After creating the schema i have made a shell script which looks like this&#60;/p&#62;
&#60;p&#62; #!/bin/sh&#60;br /&#62;
        SOLRCONFIG_URL=http://192.168.2.41:8983/solr/resource/ABC.XYZ/solrconfig.xml&#60;br /&#62;
        SOLRCONFIG=solrconfig.xml&#60;br /&#62;
        curl $SOLRCONFIG_URL --data-binary @$SOLRCONFIG -H 'Content-type:text/xml; charset=utf-8'&#60;br /&#62;
        echo &#34;Posted $SOLRCONFIG to $SOLRCONFIG_URL&#34;&#60;br /&#62;
        SCHEMA_URL=http://192.168.2.41:8983/solr/resource/ABC.XYZ/schema.xml&#60;br /&#62;
        SCHEMA=schema.xml&#60;br /&#62;
        curl $SCHEMA_URL --data-binary @$SCHEMA -H 'Content-type:text/xml; charset=utf-8'&#60;br /&#62;
        echo &#34;Posted $SCHEMA to $SCHEMA_URL&#34;&#60;/p&#62;
&#60;p&#62;Now when i execute the script it throws the warning message&#60;br /&#62;
WARNING: &#34;java.lang.RuntimeException: javax.xml.parsers.ParserConfigurationException: Not Solr-based type of index is found: ABC_XYZ_A_NO_index&#34;&#60;br /&#62;
        Posted schema.xml to &#60;a href=&#34;http://192.168.2.41:8983/solr/resource/ABC.XYZ/schema.xml&#34; rel=&#34;nofollow&#34;&#62;http://192.168.2.41:8983/solr/resource/ABC.XYZ/schema.xml&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
