<?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 query faster via curl than thru cql</title>
		<link>http://www.datastax.com/support-forums/topic/solr-query-faster-via-curl-than-thru-cql</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 14:31:52 +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-query-faster-via-curl-than-thru-cql" rel="self" type="application/rss+xml" />

		<item>
			<title>Anonymous on "Solr query faster via curl than thru cql"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-query-faster-via-curl-than-thru-cql#post-1655</link>
			<pubDate>Tue, 17 Apr 2012 17:05:45 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1655@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Also the queries through CQL does not seem to be using Solr queryResultCache. Rerun of the same query through curl has almost instataneous response back. Not so through CQL, rerun takes about the same time again.&#60;/p&#62;
&#60;p&#62;Anything I am missing ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tjake on "Solr query faster via curl than thru cql"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-query-faster-via-curl-than-thru-cql#post-1638</link>
			<pubDate>Mon, 16 Apr 2012 19:53:15 +0000</pubDate>
			<dc:creator>tjake</dc:creator>
			<guid isPermaLink="false">1638@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I don't see any warming queries in your new config (EXAMPLE):&#60;/p&#62;
&#60;p&#62;    &#38;lt;!-- QuerySenderListener takes an array of NamedList and executes a&#60;br /&#62;
         local query request for each NamedList in sequence.&#60;br /&#62;
      --&#38;gt;&#60;br /&#62;
    &#38;lt;listener event=&#34;newSearcher&#34; class=&#34;solr.QuerySenderListener&#34;&#38;gt;&#60;br /&#62;
      &#38;lt;arr name=&#34;queries&#34;&#38;gt;&#60;br /&#62;
           &#38;lt;lst&#38;gt;&#38;lt;str name=&#34;q&#34;&#38;gt;solr&#38;lt;/str&#38;gt;&#38;lt;str name=&#34;sort&#34;&#38;gt;price asc&#38;lt;/str&#38;gt;&#38;lt;/lst&#38;gt;&#60;br /&#62;
           &#38;lt;lst&#38;gt;&#38;lt;str name=&#34;q&#34;&#38;gt;rocks&#38;lt;/str&#38;gt;&#38;lt;str name=&#34;sort&#34;&#38;gt;weight asc&#38;lt;/str&#38;gt;&#38;lt;/lst&#38;gt;&#60;br /&#62;
      &#38;lt;/arr&#38;gt;&#60;br /&#62;
    &#38;lt;/listener&#38;gt;&#60;br /&#62;
    &#38;lt;listener event=&#34;firstSearcher&#34; class=&#34;solr.QuerySenderListener&#34;&#38;gt;&#60;br /&#62;
      &#38;lt;arr name=&#34;queries&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;lst&#38;gt;&#60;br /&#62;
          &#38;lt;str name=&#34;q&#34;&#38;gt;static firstSearcher warming in solrconfig.xml&#38;lt;/str&#38;gt;&#60;br /&#62;
        &#38;lt;/lst&#38;gt;&#60;br /&#62;
      &#38;lt;/arr&#38;gt;&#60;br /&#62;
    &#38;lt;/listener&#38;gt;&#60;/p&#62;
&#60;p&#62;Also you should set &#38;lt;useColdSearcher&#38;gt;false&#38;lt;/useColdSearcher&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Solr query faster via curl than thru cql"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-query-faster-via-curl-than-thru-cql#post-1637</link>
			<pubDate>Mon, 16 Apr 2012 19:50:09 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1637@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;It is just a single node. Number of rows are in millions.&#60;br /&#62;
It takes about 6 seconds thru CQL and about 3 seconds thru curl.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tjake on "Solr query faster via curl than thru cql"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-query-faster-via-curl-than-thru-cql#post-1636</link>
			<pubDate>Mon, 16 Apr 2012 19:46:13 +0000</pubDate>
			<dc:creator>tjake</dc:creator>
			<guid isPermaLink="false">1636@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;How many nodes?  The search through cql uses a different approach than over solr so if you have many nodes it contacts each node sequentially from cql.&#60;/p&#62;
&#60;p&#62;The data is not stored twice only the index data &#34;postings&#34; are stored in Solr files the raw field data is accessed from Cassandra.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Solr query faster via curl than thru cql"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-query-faster-via-curl-than-thru-cql#post-1635</link>
			<pubDate>Mon, 16 Apr 2012 19:39:41 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1635@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I have a solr index on a large CF. The solr query (curl) is much faster than thru cql.&#60;br /&#62;
What could be the reason ?&#60;/p&#62;
&#60;p&#62;Also, is the data/index stored twice ? In cassandra sstables as well as solr files ?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
