<?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 for multi tenant webapp</title>
		<link>http://www.datastax.com/support-forums/topic/solr-for-multi-tenant-webapp</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Tue, 18 Jun 2013 06:32:19 +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-for-multi-tenant-webapp" rel="self" type="application/rss+xml" />

		<item>
			<title>hliu on "Solr for multi tenant webapp"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-for-multi-tenant-webapp#post-7970</link>
			<pubDate>Thu, 13 Dec 2012 20:41:22 +0000</pubDate>
			<dc:creator>hliu</dc:creator>
			<guid isPermaLink="false">7970@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Jack,&#60;/p&#62;
&#60;p&#62;Could you please elaborate more on the number of column families? What are the possible impact from having a large number of column families? performance? Would adding more nodes help? Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jack Krupansky on "Solr for multi tenant webapp"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-for-multi-tenant-webapp#post-7962</link>
			<pubDate>Wed, 12 Dec 2012 21:35:53 +0000</pubDate>
			<dc:creator>Jack Krupansky</dc:creator>
			<guid isPermaLink="false">7962@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Prepending the UUID with the tenant ID is a good approach. I would recommend a delimiter other than colon to avoid problems with how queries are parsed. A hyphen or underscore would be good choices.&#60;/p&#62;
&#60;p&#62;If you are searching with CQL, you will have to use the full unique key for each row, but if you are using the Solr HTTP interface, you can add a &#34;filter query&#34; like &#38;amp;fq=id:tenantid-* which would filter out all rows but those for that tenantid.&#60;/p&#62;
&#60;p&#62;Also, for multitenant, make sure that the tenants have to access Solr through an app that you provide that has a REST API which assures that they cannot override that filter query.&#60;/p&#62;
&#60;p&#62;One Solr core could support millions of rows/documents. Whether that is enough for your app is up to you.&#60;/p&#62;
&#60;p&#62;Finally, you get one core per column family, so you can create multiple column familiies, as long as the number of them is relatively small, like dozens or low 100's, but not thousands or more.&#60;/p&#62;
&#60;p&#62;You could also do a hybrid and support some number of tenants per column family and then have multiple column families as well.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>anonymous on "Solr for multi tenant webapp"</title>
			<link>http://www.datastax.com/support-forums/topic/solr-for-multi-tenant-webapp#post-7886</link>
			<pubDate>Fri, 07 Dec 2012 09:08:13 +0000</pubDate>
			<dc:creator>anonymous</dc:creator>
			<guid isPermaLink="false">7886@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I am implementing text search using DSE Solr. Our multi-tenant architecture is to use the one CF by prepending the tenantid to the rowid which is an UUID. So the rowid looks like tenantid:UUID. So when create a SOLR core to this CF, it gets all tenants information. How do i define the core to look for only rowids starting with the tenantid i am searching? Will single core be sufficient or do i need to use multiple cores to address multi-tenancy? if multiple cores how would i define the schema.xml?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
