Solandra can be seen from the alias. In fact, it integrates the real-time search engine program of SOLR and Cassandra.
Its features are as follows:
- Supports most of SOLR's default features (search, faceting, and highlights)
- Data replication, sharding, caching, and compression are all performed by Cassandra.
- Multi-master (any node can be read and written)
- High real-time performance. You can read it after the write operation is completed.
- Easily add new solrcores w/o restart ss the cluster easily adds and restarts nodes
This is an official introduction:
Solandra is a real-time distributed search engine built on Apache SOLR and Apache Cassandra.
At its core, solandra is a tight integration of SOLR and Cassandra, meaning within a single JVM both SOLR and Cassandra are running, and documents are stored and disributed using Cassandra's data model.
Solandra makes managing and dynamically growing SOLR simple (R ).
For more information please see the Wiki
Requirements:
Java >=1.6
Features:
- Supports most out-of-the-box SOLR functionality (search, faceting, highlights)
- Replication, sharding, caching, and compaction managed by cassandra
- Multi-master (read/write to any node)
- Writes become available as soon as write succeeds
- Easily add new solrcores w/o restart ss the Cluster
Getting Started:
The following will guide you through setting up a single node instance of solandra.
From the solandra base directory:
mkdir /tmp/cassandra-data ant cd solandra-app; bin/solandra
Now that solandra is running you can run the demo:
cd http://www.cnblogs.com/reuters-demo ./1-download_data.sh ./2-import_data.sh While data is loading, open the file ./website/index.html in your favorite browser.
Embedding in an existing Cassandra Distribution
To use an existing Cassandra distribution perform the following steps.
- Download your Cassandra Distribution
- Unzip it the directory of your choice
Run the following solandra ant task to deploy the necessary files into the unzipped dir
Ant-dcassandra = {unzipped dir} Cassandra-Dist
You can now start SOLR within Cassandra by using $ cassandra_home/bin/solandra command. cassandra now takes two optional properties:-dsolandra. context and-dsolandra. port for the context path and the jetty port.
Limitations
Solandra uses SOLR's built in Distributed searching meachanism. Most of its limitations are covered here:
Http://wiki.apache.org/solr/DistributedSearch#Distributed_Searching_Limitations