Benchmarking Solr
http://wiki.apache.org/solr/BenchmarkingSolr
-
SolrMeter is a stress testing / performance benchmarking tool for Apache Solr installations. It is licensed under ASL and developed using JavaSE and Swing components, connected with Solr using SolrJ. The main goal of this open source project is bring to the Apache Solr user community a tool for dealing with Solr specific issues regarding performance and stress testing like executing queries and adding documents to make sure that your Solr installation will support real world's load and demands. With SolrMeter you can simulate a work load over the Apache Solr installation and to obtain useful visual performance statistics and metrics.
-
Check the project site: http://code.google.com/p/solrmeter
- Sample View:
What can youdowith SolrMeter?
http://lucene.472066.n3.nabble.com/Stress-Test-Solr-td1016253.html
The main goal of this open source project is bring to the Apache Solr user
community a tool for dealing with Solr specific issues regarding performance and
stress testing like firing queries and adding documents to make sure that your
Solr instalation will support real world's load and demands. With SolrMeter you
can simulate a work load over the Apache Solr instalation and to obtain useful
visual performance statistics and metrics.
Relevant Features:
* Execute queries against a Solr installation
* Execute dummy updates/inserts to the Solr installation, it can be the same
server as the queries or a different one.
* Configure number of queries to fire in a time period interval
* Configure the number of updates/inserts in a time period.
* Configure commits frequency during adds
* Monitor error counts when adding and commiting documents.
* Perform and monitor index optimization
* Monitor query times online and visually
* Add filter queries into the test queries
* Add facet abilities into the test queries
* Import/Export test configuration
* Query time execution histogram chart
* Query times distribution chart
* Online error log and browsing capabilities
* Individual query graphical log and statistics
* and much more....
Download SolrMeter
http://code.google.com/p/solrmeter/downloads/list
solrmeter-0.2.0-jar-with-dependencies_3_1_4_0.jar >> for solr 3.0
Queries File Configuration
http://code.google.com/p/solrmeter/wiki/queries
A simple text file, each line should be the extact text you want to put on the "q" parameter. This file is used by the FileQueryExtractor class.
Example:
car
pig
red
dog category:animal
"solr roks"
category:(animal OR vegetable)
Fields File Configuration
A simple text file, each line should be the a declared field of the schema. This fields are going to be used for faceting. (Only fields that you want to be used for faceting should be added to this file).
This file is going to be used by the FileQueryExtractor class
Example:
content
category
fileExtension
Updates / Adds file configuration
A simple text file, each line representing a document that is going to be added to solr. The format is: fieldName:fieldValue; All required fields must be on the file.
Example:
id:1;name:dog;category:animal
id:2;name:cat;category:animal
id:3;name:lettuce;category:vegetable
Filter Queries File Configuration
A simple text file, each line should be the extact text you want to put on the "fq" parameter. This file is used by the FileQueryExtractor class. You can put multiple filter queries on the same line if you want them all to be used as one (on the same query). You can also use blank lines if you want the query to execute some queries with no filter queries.
Example
category:animal
category:vegetable
categoty:vegetable price:[0 TO 10]
categoty:vegetable price:[10 TO *]