Apache Lucene open-source search software
Go to file
Shalin Shekhar Mangar 2e502c357c SOLR-10821: Ref guide documentation for Autoscaling
Squashed commit of the following:

commit 4a8eb9491a1dc8099805656adec34197d0dab092
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Aug 4 14:35:57 2017 +0530

    SOLR-10821: Added note on using maxShardsPerNode along with a policy

commit 2a9bb140e12a60f93a6314647cf7d4fdc7f4fe60
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Aug 4 14:04:48 2017 +0530

    SOLR-10821: Use availability zone as an example instead of region

commit e5f0fe130ae7a269df7a3741c7ed7bf8b009c446
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Aug 4 08:34:04 2017 +0530

    SOLR-10821: Removed mention of triggers

commit 876276626a90849068d5fd0000893ba3660ac687
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Aug 4 08:32:29 2017 +0530

    SOLR-10821: Added policy specifications and examples

commit 245be9c44af7427fbde292120520f70ed54cadc9
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Aug 4 08:12:09 2017 +0530

    SOLR-10821: Added note on what happens when you change the policy/preferences

commit 202fe3324748fdfb12d5ffbba60bd69c6aa768cb
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Aug 3 20:32:10 2017 +0530

    SOLR-10821: Added specification for policy attributes and operators

commit ccb6c559eb1ee080c5be06f1b471554d5038f699
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Aug 3 13:14:41 2017 +0530

    SOLR-10821: Added documentation on how to completely remove cluster preferences and policies

commit 24e4827f2e482929546a6e0de447046f79e1510d
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Aug 1 10:00:15 2017 +0530

    SOLR-10821: Added documentation for cluster preferences

commit d77c4786909e406ba194ef7144e1abd38c8bce83
Author: Cassandra Targett <ctargett@apache.org>
Date:   Mon Jul 31 13:19:30 2017 -0500

    SOLR-10821: standardize "autoscaling" spelling & headings; other small copy edits

commit 4644e2963d8bb51aada46fc3c9180eec0bfdac12
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 31 17:15:29 2017 +0530

    SOLR-10821: Added docs for the autoscaling write APIs

commit c7c0c86a2e3e15e6aa4e986a865e73e596cf275e
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 31 14:13:56 2017 +0530

    Added docs for the autoscaling read and diagnostics API

commit 1fd011cce3a97eb51597d5ca09c02ca5038c769b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 31 13:14:35 2017 +0530

    SOLR-10821: Removed host/port and only show the path information in example

commit 9199fa3432f8c5ab4df35dbe776aeb586baa60ec
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 31 13:12:46 2017 +0530

    SOLR-10821: Remove mention of triggers and listeners

commit d7f7639fa1dbe3584f9f1dabb3663a5630b78fcb
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 31 13:06:19 2017 +0530

    SOLR-10821: First cut of nav structure and overview page for autoscaling features in 7.0
2017-08-05 08:42:16 +05:30
dev-tools SOLR-10494: fix smoker 2017-07-24 15:36:29 -07:00
lucene LUCENE-7914: Add a maximum recursion level in automaton recursive functions (Operations.isFinite and Operations.topsortState) to prevent large automaton to overflow the stack. 2017-08-04 12:02:48 +02:00
solr SOLR-10821: Ref guide documentation for Autoscaling 2017-08-05 08:42:16 +05:30
.gitignore SOLR-10713: Add common output files to .gitignore 2017-06-05 12:49:50 -05:00
.hgignore LUCENE-2792: add FST impl 2010-12-12 15:36:08 +00:00
README.md LUCENE-5822 Add markdown-compatible README.md 2017-06-30 10:57:09 -05:00
build.xml SOLR-10883: Ref guide: Escape replacement substitutions; add .adoc file checks to the top-level validate target 2017-06-21 18:21:40 -04:00

README.md

Apache Lucene and Solr

Apache Lucene is a high-performance, full featured text search engine library written in Java.

Apache Solr is an enterprise search platform written using Apache Lucene. Major features include full-text search, index replication and sharding, and result faceting and highlighting.

Online Documentation

This README file only contains basic setup instructions. For more comprehensive documentation, visit:

Building Lucene/Solr

(You do not need to do this if you downloaded a pre-built package.)

Lucene and Solr are built using Apache Ant. To build Lucene and Solr, run:

ant compile

The Solr server can then be packaged and prepared for startup by running the following command from the solr/ directory:

ant server

Running Solr

After building Solr, the server can be started using the bin/solr control scripts. Solr can be run in either standalone or distributed (SolrCloud mode).

To run Solr in standalone mode, run the following command from the solr/ directory:

bin/solr start

To run Solr in SolrCloud mode, run the following command from the solr/ directory:

bin/solr start -c

The bin/solr control script allows heavy modification of the started Solr. Common options are described in some detail in solr/README.txt. For an exhaustive treatment of options, run bin/solr start -h from the solr/ directory.

Development/IDEs

Ant can be used to generate project files compatible with most common IDEs. Run the ant command corresponding to your IDE of choice before attempting to import Lucene/Solr.

  • Eclipse - ant eclipse
  • IntelliJ - ant idea
  • Netbeans - ant netbeans

Running Tests

The standard test suite can be run with the command:

ant test

Like Solr itself, the test-running can be customized or tailored in a number or ways. For an exhaustive discussion of the options available, run:

ant test-help

Contributing

Please review the Contributing to Solr Guide for information on contributing.

Discussion and Support