[Groonga-commit] groonga/gcs [master] Use 127.0.0.1:7575 as the destination

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 3日 (火) 17:28:01 JST


Yoji SHIDARA	2012-07-03 17:28:01 +0900 (Tue, 03 Jul 2012)

  New Revision: 0c9f086b29ab413781cdb3aa6c9cbeda02cbe6bf
  https://github.com/groonga/gcs/commit/0c9f086b29ab413781cdb3aa6c9cbeda02cbe6bf

  Log:
    Use 127.0.0.1:7575 as the destination

  Modified files:
    bin/gcs-import-examples

  Modified: bin/gcs-import-examples (+8 -8)
===================================================================
--- bin/gcs-import-examples    2012-07-03 17:25:50 +0900 (17b3c0e)
+++ bin/gcs-import-examples    2012-07-03 17:28:01 +0900 (dc1b474)
@@ -13,7 +13,7 @@ Prerequsites:
 $ sudo sh -c 'echo "127.0.0.1 doc-example-00000000000000000000000000.localhost" >> /etc/hosts'
 $ sudo sh -c 'echo "127.0.0.1 search-example-00000000000000000000000000.localhost" >> /etc/hosts'
 
-2) You need to run gcs on port 3000. Just run gcs command without any options.
+2) You need to run gcs on port 7575. Just run gcs command without any options.
 
 $ gcs
 
@@ -30,26 +30,26 @@ read
 
 echo "==== Creating 'example' domain"
 
-curl -s "http://127.0.0.1:3000/?DomainName=example&Action=CreateDomain&Version=2011-02-01"
+curl -s "http://127.0.0.1:7575/?DomainName=example&Action=CreateDomain&Version=2011-02-01"
 echo
 echo
 
 echo "==== Adding index fields"
 echo "== Creating 'name' field"
-curl -s "http://127.0.0.1:3000/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=name&Version=2011-02-01"
+curl -s "http://127.0.0.1:7575/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=name&Version=2011-02-01"
 echo
 echo "== Creating 'address' field"
-curl -s "http://127.0.0.1:3000/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=address&Version=2011-02-01"
+curl -s "http://127.0.0.1:7575/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=address&Version=2011-02-01"
 echo
 echo "== Creating 'email_address' field"
-curl -s "http://127.0.0.1:3000/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=email_address&Version=2011-02-01"
+curl -s "http://127.0.0.1:7575/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=email_address&Version=2011-02-01"
 echo
 
 echo
 echo "==== Indexing data"
 sdf_path=`npm -g root`/gcs/examples/example.sdf.json
 
-curl -X POST --upload-file $sdf_path --header "Content-Type: application/json" -H "Host: doc-example-00000000000000000000000000.localhost" http://127.0.0.1:3000/2011-02-01/documents/batch
+curl -X POST --upload-file $sdf_path --header "Content-Type: application/json" -H "Host: doc-example-00000000000000000000000000.localhost" http://127.0.0.1:7575/2011-02-01/documents/batch
 echo
 
 echo
@@ -59,9 +59,9 @@ cat <<EOT
 
 Now you can try searching by
 
-$ curl -H "Host: search-example-00000000000000000000000000.localhost" "http://127.0.0.1:3000/2011-02-01/search?q=Tokyo"
+$ curl -H "Host: search-example-00000000000000000000000000.localhost" "http://127.0.0.1:7575/2011-02-01/search?q=Tokyo"
 
 or, open
-http://127.0.0.1:3000
+http://127.0.0.1:7575
 for web dashboard.
 EOT
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下载 



Groonga-commit メーリングリストの案内
Back to archive index