[Groonga-commit] groonga/gcs [master] Set ResultEnabled option correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Aug 22 20:11:40 JST 2012


YUKI Hiroshi	2012-08-22 20:11:40 +0900 (Wed, 22 Aug 2012)

  New Revision: c9d3a35c8ca0655e140ae12d62ef642f10a7e7a0
  https://github.com/groonga/gcs/commit/c9d3a35c8ca0655e140ae12d62ef642f10a7e7a0

  Log:
    Set ResultEnabled option correctly

  Modified files:
    bin/gcs-import-examples

  Modified: bin/gcs-import-examples (+3 -3)
===================================================================
--- bin/gcs-import-examples    2012-08-22 20:07:46 +0900 (9fd3e02)
+++ bin/gcs-import-examples    2012-08-22 20:11:40 +0900 (88f7440)
@@ -63,13 +63,13 @@ search_endpoint=`echo "$create_domain_result" | sed -r -e "s/.+<SearchService><E
 
 echo "==== Adding index fields"
 echo "== Creating 'name' field"
-curl -s "http://localhost:7575/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=name&Version=2011-02-01"
+curl -s "http://localhost:7575/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=name&IndexField.IndexFieldType=text&TextOptions.ResultEnabled=true&Version=2011-02-01"
 echo
 echo "== Creating 'address' field"
-curl -s "http://localhost:7575/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=address&Version=2011-02-01"
+curl -s "http://localhost:7575/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=address&IndexField.IndexFieldType=text&TextOptions.ResultEnabled=true&Version=2011-02-01"
 echo
 echo "== Creating 'email_address' field"
-curl -s "http://localhost:7575/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=email_address&Version=2011-02-01"
+curl -s "http://localhost:7575/?Action=DefineIndexField&DomainName=example&IndexField.IndexFieldName=email_address&IndexField.IndexFieldType=text&TextOptions.ResultEnabled=true&Version=2011-02-01"
 echo
 
 echo
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index