Browse Source

fix mention of Apache License, version 2.

Closes #8400
Chris Mattmann 11 years ago
parent
commit
f47fb6b1cf
3 changed files with 49 additions and 49 deletions
  1. 45 45
      README.textile
  2. 1 1
      rest-api-spec/README.markdown
  3. 3 3
      src/deb/control/control

+ 45 - 45
README.textile

@@ -28,7 +28,7 @@ Elasticsearch is a distributed RESTful search engine built for the cloud. Featur
 ** All the power of Lucene easily exposed through simple configuration / plugins.
 * Per operation consistency
 ** Single document level operations are atomic, consistent, isolated and durable.
-* Open Source under Apache 2 License.
+* Open Source under the Apache License, version 2 ("ALv2")
 
 h2. Getting Started
 
@@ -49,17 +49,17 @@ Let's try and index some twitter like information. First, let's create a twitter
 curl -XPUT 'http://localhost:9200/twitter/user/kimchy' -d '{ "name" : "Shay Banon" }'
 
 curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '
-{ 
-    "user": "kimchy", 
-    "postDate": "2009-11-15T13:12:00", 
-    "message": "Trying out Elasticsearch, so far so good?" 
+{
+    "user": "kimchy",
+    "postDate": "2009-11-15T13:12:00",
+    "message": "Trying out Elasticsearch, so far so good?"
 }'
 
 curl -XPUT 'http://localhost:9200/twitter/tweet/2' -d '
-{ 
-    "user": "kimchy", 
-    "postDate": "2009-11-15T14:12:12", 
-    "message": "Another tweet, will it be indexed?" 
+{
+    "user": "kimchy",
+    "postDate": "2009-11-15T14:12:12",
+    "message": "Another tweet, will it be indexed?"
 }'
 </pre>
 
@@ -73,7 +73,7 @@ curl -XGET 'http://localhost:9200/twitter/tweet/2?pretty=true'
 
 h3. Searching
 
-Mmm search..., shouldn't it be elastic? 
+Mmm search..., shouldn't it be elastic?
 Let's find all the tweets that @kimchy@ posted:
 
 <pre>
@@ -84,10 +84,10 @@ We can also use the JSON query language Elasticsearch provides instead of a quer
 
 <pre>
 curl -XGET 'http://localhost:9200/twitter/tweet/_search?pretty=true' -d '
-{ 
-    "query" : { 
+{
+    "query" : {
         "match" : { "user": "kimchy" }
-    } 
+    }
 }'
 </pre>
 
@@ -95,10 +95,10 @@ Just for kicks, let's get all the documents stored (we should see the user as we
 
 <pre>
 curl -XGET 'http://localhost:9200/twitter/_search?pretty=true' -d '
-{ 
-    "query" : { 
-        "matchAll" : {} 
-    } 
+{
+    "query" : {
+        "matchAll" : {}
+    }
 }'
 </pre>
 
@@ -106,12 +106,12 @@ We can also do range search (the @postDate@ was automatically identified as date
 
 <pre>
 curl -XGET 'http://localhost:9200/twitter/_search?pretty=true' -d '
-{ 
-    "query" : { 
-        "range" : { 
-            "postDate" : { "from" : "2009-11-15T13:00:00", "to" : "2009-11-15T14:00:00" } 
-        } 
-    } 
+{
+    "query" : {
+        "range" : {
+            "postDate" : { "from" : "2009-11-15T13:00:00", "to" : "2009-11-15T14:00:00" }
+        }
+    }
 }'
 </pre>
 
@@ -129,17 +129,17 @@ Another way to define our simple twitter system is to have a different index per
 curl -XPUT 'http://localhost:9200/kimchy/info/1' -d '{ "name" : "Shay Banon" }'
 
 curl -XPUT 'http://localhost:9200/kimchy/tweet/1' -d '
-{ 
-    "user": "kimchy", 
-    "postDate": "2009-11-15T13:12:00", 
-    "message": "Trying out Elasticsearch, so far so good?" 
+{
+    "user": "kimchy",
+    "postDate": "2009-11-15T13:12:00",
+    "message": "Trying out Elasticsearch, so far so good?"
 }'
 
 curl -XPUT 'http://localhost:9200/kimchy/tweet/2' -d '
-{ 
-    "user": "kimchy", 
-    "postDate": "2009-11-15T14:12:12", 
-    "message": "Another tweet, will it be indexed?" 
+{
+    "user": "kimchy",
+    "postDate": "2009-11-15T14:12:12",
+    "message": "Another tweet, will it be indexed?"
 }'
 </pre>
 
@@ -149,11 +149,11 @@ Complete control on the index level is allowed. As an example, in the above case
 
 <pre>
 curl -XPUT http://localhost:9200/another_user/ -d '
-{ 
-    "index" : { 
-        "numberOfShards" : 1, 
-        "numberOfReplicas" : 1 
-    } 
+{
+    "index" : {
+        "numberOfShards" : 1,
+        "numberOfReplicas" : 1
+    }
 }'
 </pre>
 
@@ -162,10 +162,10 @@ index (twitter user), for example:
 
 <pre>
 curl -XGET 'http://localhost:9200/kimchy,another_user/_search?pretty=true' -d '
-{ 
-    "query" : { 
-        "matchAll" : {} 
-    } 
+{
+    "query" : {
+        "matchAll" : {}
+    }
 }'
 </pre>
 
@@ -173,10 +173,10 @@ Or on all the indices:
 
 <pre>
 curl -XGET 'http://localhost:9200/_search?pretty=true' -d '
-{ 
-    "query" : { 
-        "matchAll" : {} 
-    } 
+{
+    "query" : {
+        "matchAll" : {}
+    }
 }'
 </pre>
 
@@ -213,7 +213,7 @@ In order to ensure a smooth upgrade process from earlier versions of Elasticsear
 h1. License
 
 <pre>
-This software is licensed under the Apache 2 license, quoted below.
+This software is licensed under the Apache License, version 2 ("ALv2"), quoted below.
 
 Copyright 2009-2014 Elasticsearch <http://www.elasticsearch.org>
 

+ 1 - 1
rest-api-spec/README.markdown

@@ -62,4 +62,4 @@ The full command to generate the api spec is:
 
 ## License
 
-This software is licensed under the Apache 2 license.
+This software is licensed under the Apache License, version 2 ("ALv2").

+ 3 - 3
src/deb/control/control

@@ -7,7 +7,7 @@ Section: web
 Priority: optional
 Homepage: http://www.elasticsearch.org/
 Description: Open Source, Distributed, RESTful Search Engine
- Elasticsearch is a distributed RESTful search engine built for the cloud. 
+ Elasticsearch is a distributed RESTful search engine built for the cloud.
  .
  Features include:
  .
@@ -30,9 +30,9 @@ Description: Open Source, Distributed, RESTful Search Engine
  + (Near) Real Time Search.
  + Built on top of Lucene
    - Each shard is a fully functional Lucene index
-   - All the power of Lucene easily exposed through simple 
+   - All the power of Lucene easily exposed through simple
      configuration/plugins.
  + Per operation consistency
    - Single document level operations are atomic, consistent, isolated and
      durable.
- + Open Source under Apache 2 License.
+ + Open Source under the Apache License, version 2 ("ALv2").