For whatever reason I thought the DSE 2 Solr indexes were maintained in Cassandra. But in this document:
Under "Manage the Location of Solr Data", describes the existence of
solr.data. I went there and I see what look like numerous Lucene index files. This indicates to me that the indexes reside within the node's local file system, and not somewhere in Cassandra. I know the equivalently named keyspace and CF in Cassandra has the field data, and the Solr configuration files. Does
com.datastax.bdp.cassandra.index.solr.SolrSecondaryIndex place the Lucene indexes themselves in the file system rather than in Cassandra itself?
This means the indexes themselves are not distributed and replicated? Does every node in the ring index the same content and product its own index files? I guess that's a form of replication, but it could well exceed the desired replication factor. If I add a node, does it then have to go and index the Solr related CFs?
If the indexes are indeed in the file system, then optimizing the index is still useful, right? I have a lot of read-only data indexed, and optimizing pays off well in regular Solr. I figured Cassandra's compaction took care of that, but I guess if the indexes don't reside there, that's not the case.