Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansj authored and Ansj committed Dec 6, 2014
1 parent 1d2f493 commit 892c15f
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,40 @@ elasticsearch-sql
###1.3.2
````
./bin/plugin -u http://maven.nlpcn.org/org/nlpcn/elasticsearch-sql/1.3.2/elasticsearch-sql-1.3.2.jar --install sql
./bin/plugin -u http://maven.nlpcn.org/org/nlpcn/elasticsearch-sql/1.3.2/elasticsearch-sql-1.3.2.zip --install sql
````

###1.4.1
````
./bin/plugin -u http://maven.nlpcn.org/org/nlpcn/elasticsearch-sql/1.4.1/elasticsearch-sql-1.4.1.jar --install sql
./bin/plugin -u http://maven.nlpcn.org/org/nlpcn/elasticsearch-sql/1.4.1/elasticsearch-sql-1.4.1.zip --install sql
````

* visit by web site

````
http://localhost:9200/_plugin/sql/
````




* search by search

````
http://localhost:9200/_sql?sql=select * from indexName limit 10 //indexName是索引中的索引名字
http://localhost:9200/_sql?sql=select * from indexName limit 10
````

* explain sql to es script

````
http://localhost:9200/_sql/_explain?sql=select * from indexName limit 10 //indexName是索引中的索引名字
http://localhost:9200/_sql/_explain?sql=select * from indexName limit 10
````

Expand Down

0 comments on commit 892c15f

Please sign in to comment.