Navigation Menu

Skip to content

Commit

Permalink
Set ResultEnabled option correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 22, 2012
1 parent ae14035 commit c9d3a35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/gcs-import-examples
Expand Up @@ -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
Expand Down

0 comments on commit c9d3a35

Please sign in to comment.