Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit 5b424db

Browse files
committed
Merge branch 'develop' into cloudsearch2-proxy
2 parents b9c7656 + 1f35224 commit 5b424db

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

boto/cloudsearch2/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def to_params(self):
131131
params['highlight.%s' % k] = v
132132

133133
if self.options:
134-
params['options'] = self.options
134+
params['q.options'] = self.options
135135

136136
if self.return_fields:
137137
params['return'] = ','.join(self.return_fields)

docs/source/apps_built_on_boto.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,10 @@ you'd like it listed here, please submit a `pull request`_ adding it!
4242
pre-configured webservers to a cluster (including updating the load
4343
balancer), performing automated software deployments and creating backups -
4444
each with just one call from the commandline.
45+
46+
**iamer**
47+
https://pypi.python.org/pypi/iamer
48+
IAMer dump and load your AWS IAM configuration into text files. Once
49+
dumped, you can version the resulting json and ini files to keep track of
50+
changes, and even ask your team mates to do Pull Requests when they want
51+
access to something.

tests/unit/cloudsearch2/test_search.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,12 @@ class CloudSearchSearchTest(CloudSearchSearchBaseTest):
116116
def test_cloudsearch_qsearch(self):
117117
search = SearchConnection(endpoint=HOSTNAME)
118118

119-
search.search(q='Test')
119+
search.search(q='Test', options='TestOptions')
120120

121121
args = self.get_args(HTTPretty.last_request.raw_requestline)
122122

123123
self.assertEqual(args[b'q'], [b"Test"])
124+
self.assertEqual(args[b'q.options'], [b"TestOptions"])
124125
self.assertEqual(args[b'start'], [b"0"])
125126
self.assertEqual(args[b'size'], [b"10"])
126127

0 commit comments

Comments
 (0)