<?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: Solr Search on CSV data</title>
		<link>http://www.datastax.com/support-forums/topic/solr-search-on-csv-data</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sat, 18 May 2013 19:51:32 +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/solr-search-on-csv-data" rel="self" type="application/rss+xml" />

		<item>
			<title>datastaxtesting on "Solr Search on CSV data"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-search-on-csv-data#post-4770</link>
			<pubDate>Thu, 02 Aug 2012 13:33:08 +0000</pubDate>
			<dc:creator>datastaxtesting</dc:creator>
			<guid isPermaLink="false">4770@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I updated my configuration to:&#60;br /&#62;
[root@NJVC-BAO-DEV-DB-2 wiki]# /usr/local/datastax-2.1/dse-2.1/bin/dsetool ring -h 10.3.11.91&#60;br /&#62;
Address DC Rack Workload Status State Load Owns Token&#60;br /&#62;
85070591730234615865843651857942052864&#60;br /&#62;
10.3.11.90 DC1 RAC1 Analytics(JT) Up Normal 1.08 MB 50.00% 0&#60;br /&#62;
10.3.11.91 DC2 RAC1 Search Up Normal 9.66 MB 50.00% 85070591730234615865843651857942052864&#60;/p&#62;
&#60;p&#62;Now...when i post solrconfig.xml and schema.xml I get the following warning:&#60;/p&#62;
&#60;p&#62;[root@NJVC-BAO-DEV-DB-2 wikipedia]# ./1-add-schema_test.sh&#60;br /&#62;
WARNING: &#34;java.lang.RuntimeException: org.apache.solr.common.SolrException: Could not find: schema.xml&#34;&#60;br /&#62;
Posted solrconfig_test.xml to &#60;a href=&#34;http://10.3.11.91:8983/solr/resource/mappingtest.chemicalstest/solrconfig_test.xml&#34; rel=&#34;nofollow&#34;&#62;http://10.3.11.91:8983/solr/resource/mappingtest.chemicalstest/solrconfig_test.xml&#60;/a&#62;&#60;br /&#62;
WARNING: &#34;java.lang.RuntimeException: org.apache.solr.common.SolrException: Could not find: schema.xml&#34;&#60;br /&#62;
Posted schema_test.xml to &#60;a href=&#34;http://10.3.11.91:8983/solr/resource/mappingtest.chemicalstest/schema_test.xml&#34; rel=&#34;nofollow&#34;&#62;http://10.3.11.91:8983/solr/resource/mappingtest.chemicalstest/schema_test.xml&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Piotr Kołaczkowski on "Solr Search on CSV data"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-search-on-csv-data#post-4750</link>
			<pubDate>Thu, 02 Aug 2012 10:15:11 +0000</pubDate>
			<dc:creator>Piotr Kołaczkowski</dc:creator>
			<guid isPermaLink="false">4750@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hmm, your search node is not in a separate DC. Therefore, if you have a replication factor = 1, only half of your data is placed on the search node. Probably because of a bug that was fixed in the 2.2 branch, the server tries to contact your analytics node to get the rest of the data and gets connection refused, because solr is not running there.&#60;/p&#62;
&#60;p&#62;Put the two nodes into separate datacenters or eventually try RF=2 with your current config (but that might still not work - there is a strong assumption in DSE search that it needs to have a separate DC).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>datastaxtesting on "Solr Search on CSV data"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-search-on-csv-data#post-3351</link>
			<pubDate>Fri, 20 Jul 2012 17:40:53 +0000</pubDate>
			<dc:creator>datastaxtesting</dc:creator>
			<guid isPermaLink="false">3351@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Just to plain what I am doing:&#60;br /&#62;
I have 2 node cluster 10.3.11.90(bin/dse cassandra -t running) and 10.3.11.91(bin/dse cassandra -s -f) running than in 10.3.11.91...I modified solrconfig.xml (localhost to 10.3.11.91) and than I followed the step as per solr wikipedia demo....also when I point to &#60;a href=&#34;http://10.3.11.91:8983/demos/wikipedia/&#34; rel=&#34;nofollow&#34;&#62;http://10.3.11.91:8983/demos/wikipedia/&#60;/a&#62; nothing lods in the right side....&#60;/p&#62;
&#60;p&#62;bin/dsetool result:&#60;/p&#62;
&#60;p&#62;[root@NJVC-BAO-DEV-DB-2 wiki]# /usr/local/datastax-2.1/dse-2.1/bin/dsetool ring -h 10.3.11.91&#60;br /&#62;
Address         DC          Rack        Workload        Status State   Load            Owns    Token&#60;br /&#62;
                                                                                               85070591730234615865843651857942052864&#60;br /&#62;
10.3.11.90      DC1         RAC1        Analytics(JT)   Up     Normal  1.08 MB         50.00%  0&#60;br /&#62;
10.3.11.91      DC1         RAC2        Search          Up     Normal  9.66 MB         50.00%  85070591730234615865843651857942052864
&#60;/p&#62;</description>
		</item>
		<item>
			<title>datastaxtesting on "Solr Search on CSV data"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-search-on-csv-data#post-3350</link>
			<pubDate>Fri, 20 Jul 2012 17:38:46 +0000</pubDate>
			<dc:creator>datastaxtesting</dc:creator>
			<guid isPermaLink="false">3350@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Before posting I modified the solrconfig.xml (10.3.11.91 in place of localhost)&#60;/p&#62;
&#60;p&#62;This is the error which I could see in system log:&#60;/p&#62;
&#60;p&#62;ERROR [pool-2-thread-1] 2012-07-20 11:33:15,305 SolrException.java (line 114) org.apache.solr.common.SolrException: org.apache.solr.client.solrj.SolrServerException: java.net.ConnectException: Connection refused&#60;br /&#62;
        at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:284)&#60;br /&#62;
        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)&#60;br /&#62;
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1460)&#60;br /&#62;
        at org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:59)&#60;br /&#62;
        at org.apache.solr.core.SolrCore$3.call(SolrCore.java:1237)&#60;br /&#62;
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)&#60;br /&#62;
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)&#60;br /&#62;
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&#60;br /&#62;
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&#60;br /&#62;
        at java.lang.Thread.run(Thread.java:662)&#60;br /&#62;
Caused by: org.apache.solr.client.solrj.SolrServerException: java.net.ConnectException: Connection refused
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xedin on "Solr Search on CSV data"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-search-on-csv-data#post-3346</link>
			<pubDate>Fri, 20 Jul 2012 17:18:24 +0000</pubDate>
			<dc:creator>xedin</dc:creator>
			<guid isPermaLink="false">3346@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;That error message could indicate that something went wrong on the server side, can you check you system.log for exceptions?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>datastaxtesting on "Solr Search on CSV data"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-search-on-csv-data#post-3345</link>
			<pubDate>Fri, 20 Jul 2012 17:14:36 +0000</pubDate>
			<dc:creator>datastaxtesting</dc:creator>
			<guid isPermaLink="false">3345@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;when I execute solr query inside cqlsh I get the following result below but no output??&#60;/p&#62;
&#60;p&#62;cqlsh:wiki&#38;gt; select title from solr where solr_query='title:natio*';&#60;br /&#62;
Request did not complete within rpc_timeout.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Piotr Kołaczkowski on "Solr Search on CSV data"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-search-on-csv-data#post-3340</link>
			<pubDate>Fri, 20 Jul 2012 15:53:20 +0000</pubDate>
			<dc:creator>Piotr Kołaczkowski</dc:creator>
			<guid isPermaLink="false">3340@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;You should POST solrconfig.xml and schema.xml using HTTP to appropriate URLs:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://localhost:8983/solr/resource/&#34; rel=&#34;nofollow&#34;&#62;http://localhost:8983/solr/resource/&#60;/a&#62;{keyspace}.{columnfamily}/solrconfig.xml&#60;br /&#62;
&#60;a href=&#34;http://localhost:8983/solr/resource/&#34; rel=&#34;nofollow&#34;&#62;http://localhost:8983/solr/resource/&#60;/a&#62;{keyspace}.{columnfamily}/schema.xml&#60;/p&#62;
&#60;p&#62;You can POST many times, it will just overwrite the previous content if present.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>datastaxtesting on "Solr Search on CSV data"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-search-on-csv-data#post-3280</link>
			<pubDate>Thu, 19 Jul 2012 14:46:27 +0000</pubDate>
			<dc:creator>datastaxtesting</dc:creator>
			<guid isPermaLink="false">3280@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Sorry!! Could you pl. explain in detail. &#60;/p&#62;
&#60;p&#62;Data I loaded in 10.3.11.90 node(cassandra running) and solr running in 10.3.11.91 node.&#60;/p&#62;
&#60;p&#62;Data format is:&#60;br /&#62;
#UUID,ID,REG,AGE,SEX,HAZSUB,REPORT, CHEMICAL&#60;br /&#62;
550e8400-e29b-41d4-a716-446655440000,38083,12468880,0,0,21,19, chromium&#60;br /&#62;
:&#60;br /&#62;
:&#60;/p&#62;
&#60;p&#62;Now if the user search for chemical name say chromium than all rows containing chromium should be displayed.....Also in which folder should I make solrconfig.xml and schema.xml?? &#60;/p&#62;
&#60;p&#62;Thanks!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Piotr Kołaczkowski on "Solr Search on CSV data"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-search-on-csv-data#post-3270</link>
			<pubDate>Thu, 19 Jul 2012 11:03:12 +0000</pubDate>
			<dc:creator>Piotr Kołaczkowski</dc:creator>
			<guid isPermaLink="false">3270@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Posting solrconfig.xml and schema.xml is enough. You need to create schema.xml to provide appropriate mapping of your columns to Solr. Then it will just index existing data in Cassandra.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>datastaxtesting on "Solr Search on CSV data"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-search-on-csv-data#post-3252</link>
			<pubDate>Thu, 19 Jul 2012 04:35:16 +0000</pubDate>
			<dc:creator>datastaxtesting</dc:creator>
			<guid isPermaLink="false">3252@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I have 2 node cluster 10.3.11.90(seed node running cassandra) and 10.3.11.91(running solr).....I loaded the CSV data using bulk loader in the cluster now I have to make available solr  search on this data...what is the step??&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
