Solandra: Real-time distributed search engine based on SOLR and Cassandra

Source: Internet
Author: User
Tags apache solr cassandra solr

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.

  1. Download your Cassandra Distribution
  2. Unzip it the directory of your choice
  3. Run the following solandra ant task to deploy the necessary files into the unzipped dir

    Ant-dcassandra = {unzipped dir} Cassandra-Dist

  4. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.