springboard 0.90.12 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d877b199685dcf17d16131870b802da333df91e
4
- data.tar.gz: 0088054665b634497e29a03a186d83a44d11fd86
3
+ metadata.gz: a8735e73c3295b10dc670dd6fd3b7002445a6c9c
4
+ data.tar.gz: 516a00632355fd4583afc4df0df9517f1e1f4781
5
5
  SHA512:
6
- metadata.gz: 1fd5b3a2a8e279991fad3f1df922d7dee4935b34496a4ef9ad574c83cee99ed87f781524d4176343b81e4c226d279649948f7a47c2d21fbb9e0ae35c6931a603
7
- data.tar.gz: 2afd14ecdfc5dd31fff7606fb2b703e0a388a2ff9eb297f5fdb6027f8d957830c4ac5bdb41e4d5f49dd02e21a584fcb8b7c864929b1c03d34c95d96820f000cc
6
+ metadata.gz: e19ed0649ad5b9ff193267c50e452390ff77f9d628f0e64eeb731fcf37b4ae5a85bbf6e632bb810e0047b9d64c6ca8c47f5bc722468082f11a3bd5b49319a490
7
+ data.tar.gz: 9994e16e3b6e2c4f85a8b78b20e914671794ba3d0c54b90407fa20e80da2efaabedcf93e46e7389896ad2bd75282cfb96c4972cb1a83c0fe92142e8637c6b70a
@@ -1,6 +1,6 @@
1
1
  #!/bin/sh
2
2
 
3
- ES_CLASSPATH=$ES_CLASSPATH:$ES_HOME/lib/elasticsearch-0.90.12.jar:$ES_HOME/lib/*:$ES_HOME/lib/sigar/*
3
+ ES_CLASSPATH=$ES_CLASSPATH:$ES_HOME/lib/elasticsearch-1.0.1.jar:$ES_HOME/lib/*:$ES_HOME/lib/sigar/*
4
4
 
5
5
  if [ "x$ES_MIN_MEM" = "x" ]; then
6
6
  ES_MIN_MEM=256m
@@ -1,3 +1,3 @@
1
1
  module Springboard
2
- VERSION = "0.90.12"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -1,5 +1,5 @@
1
- ElasticSearch
2
- Copyright 2009-2014 ElasticSearch and Shay Banon
1
+ Elasticsearch
2
+ Copyright 2009-2014 Elasticsearch
3
3
 
4
4
  This product includes software developed by The Apache Software
5
5
  Foundation (http://www.apache.org/).
@@ -1,10 +1,10 @@
1
- h1. ElasticSearch
1
+ h1. Elasticsearch
2
2
 
3
3
  h2. A Distributed RESTful Search Engine
4
4
 
5
5
  h3. "http://www.elasticsearch.org":http://www.elasticsearch.org
6
6
 
7
- ElasticSearch is a distributed RESTful search engine built for the cloud. Features include:
7
+ Elasticsearch is a distributed RESTful search engine built for the cloud. Features include:
8
8
 
9
9
  * Distributed and Highly Available Search Engine.
10
10
  ** Each index is fully sharded with a configurable number of shards.
@@ -32,12 +32,12 @@ ElasticSearch is a distributed RESTful search engine built for the cloud. Featur
32
32
 
33
33
  h2. Getting Started
34
34
 
35
- First of all, DON'T PANIC. It will take 5 minutes to get the gist of what ElasticSearch is all about.
35
+ First of all, DON'T PANIC. It will take 5 minutes to get the gist of what Elasticsearch is all about.
36
36
 
37
37
  h3. Installation
38
38
 
39
- * "Download":http://www.elasticsearch.org/download and unzip the ElasticSearch official distribution.
40
- * Run @bin/elasticsearch -f@ on unix, or @bin/elasticsearch.bat@ on windows.
39
+ * "Download":http://www.elasticsearch.org/download and unzip the Elasticsearch official distribution.
40
+ * Run @bin/elasticsearch@ on unix, or @bin/elasticsearch.bat@ on windows.
41
41
  * Run @curl -X GET http://localhost:9200/@.
42
42
  * Start more servers ...
43
43
 
@@ -52,7 +52,7 @@ curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '
52
52
  {
53
53
  "user": "kimchy",
54
54
  "postDate": "2009-11-15T13:12:00",
55
- "message": "Trying out Elastic Search, so far so good?"
55
+ "message": "Trying out Elasticsearch, so far so good?"
56
56
  }'
57
57
 
58
58
  curl -XPUT 'http://localhost:9200/twitter/tweet/2' -d '
@@ -80,7 +80,7 @@ Let's find all the tweets that @kimchy@ posted:
80
80
  curl -XGET 'http://localhost:9200/twitter/tweet/_search?q=user:kimchy&pretty=true'
81
81
  </pre>
82
82
 
83
- We can also use the JSON query language ElasticSearch provides instead of a query string:
83
+ We can also use the JSON query language Elasticsearch provides instead of a query string:
84
84
 
85
85
  <pre>
86
86
  curl -XGET 'http://localhost:9200/twitter/tweet/_search?pretty=true' -d '
@@ -121,7 +121,7 @@ h3. Multi Tenant - Indices and Types
121
121
 
122
122
  Maan, that twitter index might get big (in this case, index size == valuation). Let's see if we can structure our twitter system a bit differently in order to support such large amount of data.
123
123
 
124
- ElasticSearch support multiple indices, as well as multiple types per index. In the previous example we used an index called @twitter@, with two types, @user@ and @tweet@.
124
+ Elasticsearch support multiple indices, as well as multiple types per index. In the previous example we used an index called @twitter@, with two types, @user@ and @tweet@.
125
125
 
126
126
  Another way to define our simple twitter system is to have a different index per user (though note that an index has an overhead). Here is the indexing curl's in this case:
127
127
 
@@ -132,7 +132,7 @@ curl -XPUT 'http://localhost:9200/kimchy/tweet/1' -d '
132
132
  {
133
133
  "user": "kimchy",
134
134
  "postDate": "2009-11-15T13:12:00",
135
- "message": "Trying out Elastic Search, so far so good?"
135
+ "message": "Trying out Elasticsearch, so far so good?"
136
136
  }'
137
137
 
138
138
  curl -XPUT 'http://localhost:9200/kimchy/tweet/2' -d '
@@ -186,17 +186,17 @@ h3. Distributed, Highly Available
186
186
 
187
187
  Let's face it, things will fail....
188
188
 
189
- ElasticSearch is a highly available and distributed search engine. Each index is broken down into shards, and each shard can have one or more replica. By default, an index is created with 5 shards and 1 replica per shard (5/1). There are many topologies that can be used, including 1/10 (improve search performance), or 20/1 (improve indexing performance, with search executed in a map reduce fashion across shards).
189
+ Elasticsearch is a highly available and distributed search engine. Each index is broken down into shards, and each shard can have one or more replica. By default, an index is created with 5 shards and 1 replica per shard (5/1). There are many topologies that can be used, including 1/10 (improve search performance), or 20/1 (improve indexing performance, with search executed in a map reduce fashion across shards).
190
190
 
191
- In order to play with Elastic Search distributed nature, simply bring more nodes up and shut down nodes. The system will continue to serve requests (make sure you use the correct http port) with the latest data indexed.
191
+ In order to play with Elasticsearch distributed nature, simply bring more nodes up and shut down nodes. The system will continue to serve requests (make sure you use the correct http port) with the latest data indexed.
192
192
 
193
193
  h3. Where to go from here?
194
194
 
195
- We have just covered a very small portion of what ElasticSearch is all about. For more information, please refer to: .
195
+ We have just covered a very small portion of what Elasticsearch is all about. For more information, please refer to the "elasticsearch.org":http://www.elasticsearch.org website.
196
196
 
197
197
  h3. Building from Source
198
198
 
199
- ElasticSearch uses "Maven":http://maven.apache.org for its build system.
199
+ Elasticsearch uses "Maven":http://maven.apache.org for its build system.
200
200
 
201
201
  In order to create a distribution, simply run the @mvn clean package
202
202
  -DskipTests@ command in the cloned directory.
@@ -211,7 +211,7 @@ h1. License
211
211
  <pre>
212
212
  This software is licensed under the Apache 2 license, quoted below.
213
213
 
214
- Copyright 2009-2013 Shay Banon and ElasticSearch <http://www.elasticsearch.org>
214
+ Copyright 2009-2014 Elasticsearch <http://www.elasticsearch.org>
215
215
 
216
216
  Licensed under the Apache License, Version 2.0 (the "License"); you may not
217
217
  use this file except in compliance with the License. You may obtain a copy of
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  # OPTIONS:
4
- # -f: start in the foreground
4
+ # -d: daemonize, start in the background
5
5
  # -p <filename>: log the pid to a file (useful to kill it later)
6
6
 
7
7
  # CONTROLLING STARTUP:
@@ -127,7 +127,7 @@ esac
127
127
  launch_service()
128
128
  {
129
129
  pidpath=$1
130
- foreground=$2
130
+ daemonized=$2
131
131
  props=$3
132
132
  es_parms="-Delasticsearch"
133
133
 
@@ -135,23 +135,39 @@ launch_service()
135
135
  es_parms="$es_parms -Des.pidfile=$pidpath"
136
136
  fi
137
137
 
138
- # The es-foreground option will tell ElasticSearch not to close stdout/stderr, but it's up to us not to background.
139
- if [ "x$foreground" != "x" ]; then
138
+ # The es-foreground option will tell Elasticsearch not to close stdout/stderr, but it's up to us not to daemonize.
139
+ if [ "x$daemonized" = "x" ]; then
140
140
  es_parms="$es_parms -Des.foreground=yes"
141
141
  exec "$JAVA" $JAVA_OPTS $ES_JAVA_OPTS $es_parms -Des.path.home="$ES_HOME" -cp "$ES_CLASSPATH" $props \
142
- org.elasticsearch.bootstrap.ElasticSearch
142
+ org.elasticsearch.bootstrap.Elasticsearch
143
143
  # exec without running it in the background, makes it replace this shell, we'll never get here...
144
144
  # no need to return something
145
145
  else
146
- # Startup ElasticSearch, background it, and write the pid.
146
+ # Startup Elasticsearch, background it, and write the pid.
147
147
  exec "$JAVA" $JAVA_OPTS $ES_JAVA_OPTS $es_parms -Des.path.home="$ES_HOME" -cp "$ES_CLASSPATH" $props \
148
- org.elasticsearch.bootstrap.ElasticSearch <&- &
148
+ org.elasticsearch.bootstrap.Elasticsearch <&- &
149
149
  return $?
150
150
  fi
151
151
  }
152
152
 
153
+ # Parse any long getopt options and put them into properties before calling getopt below
154
+ # Be dash compatible to make sure running under ubuntu works
155
+ ARGV=""
156
+ while [ $# -gt 0 ]
157
+ do
158
+ case $1 in
159
+ --*=*) properties="$properties -Des.${1#--}"
160
+ shift 1
161
+ ;;
162
+ --*) properties="$properties -Des.${1#--}=$2"
163
+ shift 2
164
+ ;;
165
+ *) ARGV="$ARGV $1" ; shift
166
+ esac
167
+ done
168
+
153
169
  # Parse any command line options.
154
- args=`getopt vfhp:D:X: "$@"`
170
+ args=`getopt vdhp:D:X: $ARGV`
155
171
  eval set -- "$args"
156
172
 
157
173
  while true; do
@@ -165,12 +181,12 @@ while true; do
165
181
  pidfile="$2"
166
182
  shift 2
167
183
  ;;
168
- -f)
169
- foreground="yes"
184
+ -d)
185
+ daemonized="yes"
170
186
  shift
171
187
  ;;
172
188
  -h)
173
- echo "Usage: $0 [-f] [-h] [-p pidfile]"
189
+ echo "Usage: $0 [-d] [-h] [-p pidfile]"
174
190
  exit 0
175
191
  ;;
176
192
  -D)
@@ -193,6 +209,6 @@ while true; do
193
209
  done
194
210
 
195
211
  # Start up the service
196
- launch_service "$pidfile" "$foreground" "$properties"
212
+ launch_service "$pidfile" "$daemonized" "$properties"
197
213
 
198
214
  exit $?
@@ -1,6 +1,6 @@
1
1
  #!/bin/sh
2
2
 
3
- ES_CLASSPATH=$ES_CLASSPATH:$ES_HOME/lib/elasticsearch-0.90.12.jar:$ES_HOME/lib/*:$ES_HOME/lib/sigar/*
3
+ ES_CLASSPATH=$ES_CLASSPATH:$ES_HOME/lib/elasticsearch-1.0.1.jar:$ES_HOME/lib/*:$ES_HOME/lib/sigar/*
4
4
 
5
5
  if [ "x$ES_MIN_MEM" = "x" ]; then
6
6
  ES_MIN_MEM=256m
@@ -1,4 +1,4 @@
1
- ##################### ElasticSearch Configuration Example #####################
1
+ ##################### Elasticsearch Configuration Example #####################
2
2
 
3
3
  # This file contains an overview of various configuration settings,
4
4
  # targeted at operations staff. Application developers should
@@ -7,7 +7,7 @@
7
7
  # The installation procedure is covered at
8
8
  # <http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html>.
9
9
  #
10
- # ElasticSearch comes with reasonable defaults for most settings,
10
+ # Elasticsearch comes with reasonable defaults for most settings,
11
11
  # so you can try it out without bothering with configuration.
12
12
  #
13
13
  # Most of the time, these defaults are just fine for running a production
@@ -72,7 +72,7 @@
72
72
  # node.data: false
73
73
 
74
74
  # Use the Cluster Health API [http://localhost:9200/_cluster/health], the
75
- # Node Info API [http://localhost:9200/_cluster/nodes] or GUI tools
75
+ # Node Info API [http://localhost:9200/_nodes] or GUI tools
76
76
  # such as <http://www.elasticsearch.org/overview/marvel/>,
77
77
  # <http://github.com/karmi/elasticsearch-paramedic>,
78
78
  # <http://github.com/lukas-vlcek/bigdesk> and
@@ -130,7 +130,7 @@
130
130
  # The "number_of_replicas" can be increased or decreased anytime,
131
131
  # by using the Index Update Settings API.
132
132
  #
133
- # ElasticSearch takes care about load balancing, relocating, gathering the
133
+ # Elasticsearch takes care about load balancing, relocating, gathering the
134
134
  # results from nodes, etc. Experiment with different settings to fine-tune
135
135
  # your setup.
136
136
 
@@ -176,7 +176,7 @@
176
176
 
177
177
  ################################### Memory ####################################
178
178
 
179
- # ElasticSearch performs poorly when JVM starts swapping: you should ensure that
179
+ # Elasticsearch performs poorly when JVM starts swapping: you should ensure that
180
180
  # it _never_ swaps.
181
181
  #
182
182
  # Set this property to true to lock the memory:
@@ -185,15 +185,15 @@
185
185
 
186
186
  # Make sure that the ES_MIN_MEM and ES_MAX_MEM environment variables are set
187
187
  # to the same value, and that the machine has enough memory to allocate
188
- # for ElasticSearch, leaving enough memory for the operating system itself.
188
+ # for Elasticsearch, leaving enough memory for the operating system itself.
189
189
  #
190
- # You should also make sure that the ElasticSearch process is allowed to lock
190
+ # You should also make sure that the Elasticsearch process is allowed to lock
191
191
  # the memory, eg. by using `ulimit -l unlimited`.
192
192
 
193
193
 
194
194
  ############################## Network And HTTP ###############################
195
195
 
196
- # ElasticSearch, by default, binds itself to the 0.0.0.0 address, and listens
196
+ # Elasticsearch, by default, binds itself to the 0.0.0.0 address, and listens
197
197
  # on port [9200-9300] for HTTP traffic and on port [9300-9400] for node-to-node
198
198
  # communication. (the range means that if the port is busy, it will automatically
199
199
  # try the next port).
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: springboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.90.12
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grant Rodgers
@@ -60,7 +60,7 @@ files:
60
60
  - vendor/elasticsearch/bin/plugin
61
61
  - vendor/elasticsearch/config/elasticsearch.yml
62
62
  - vendor/elasticsearch/config/logging.yml
63
- - vendor/elasticsearch/lib/elasticsearch-0.90.12.jar
63
+ - vendor/elasticsearch/lib/elasticsearch-1.0.1.jar
64
64
  - vendor/elasticsearch/lib/jna-3.3.0.jar
65
65
  - vendor/elasticsearch/lib/jts-1.12.jar
66
66
  - vendor/elasticsearch/lib/log4j-1.2.17.jar