chilts / awssum

(deprecated: use aws-sdk) Node.js modules for talking to lots of Web Service APIs.
Other
462 stars 57 forks source link

options for CloudSearch #70

Closed dmcbeath closed 12 years ago

dmcbeath commented 12 years ago

In the cloudsearch.js file, could you please add other search options such as 'size', 'start', 'return-fields', etc.?

Search : {
    args : {
        'q' : { required : false, type : 'param' },
        'size' : { required : false, type : 'param' },
    }
},
chilts commented 12 years ago

Hi Darin,

Many thanks for this. I started coding this up yesterday, but the 'FACET' stuff is a little annoying since Amazon have created a whole new way of doing this (usually they don't put the 'name' into the parameter, name, but instead have it as a value).

Anyway, I've got some code, it's 90% working and I just need to add a few more tests. I should be able to finish it off later on today so I'll let you know on here. :)

Thanks for raising this issue.

Cheers, Andy

chilts commented 12 years ago

Hi Darin,

I've just committed a fix for this, but please re-test and let me know how it goes. I've managed to do some testing but not enough. :)

Have a look here to see how to do the facets:

Many thanks, Andy

chilts commented 12 years ago

Hi @dmcbeath,

Any luck trying this out. Would love to hear that you've had some success. :)

Cheers, Andy

dmcbeath commented 12 years ago

Will test on tuesday. Holiday weekend in the us :-)

Sent from my iPhone

On Sep 1, 2012, at 1:54 AM, "Andrew Chilton" notifications@github.com<mailto:notifications@github.com> wrote:

Hi @dmcbeathhttps://github.com/dmcbeath,

Any luck trying this out. Would love to hear that you've had some success. :)

Cheers, Andy

— Reply to this email directly or view it on GitHubhttps://github.com/appsattic/node-awssum/issues/70#issuecomment-8210291.

dmcbeath commented 12 years ago

Initial/limited testing shows that this is working fine.

Darin.

From: , Darin McBeath d.mcbeath@elsevier.com<mailto:d.mcbeath@elsevier.com> Date: Saturday, September 1, 2012 9:30 AM To: appsattic/node-awssum reply@reply.github.com<mailto:reply@reply.github.com> Subject: Re: [node-awssum] options for CloudSearch (#70)

Will test on tuesday. Holiday weekend in the us :-)

Sent from my iPhone

On Sep 1, 2012, at 1:54 AM, "Andrew Chilton" notifications@github.com<mailto:notifications@github.com> wrote:

Hi @dmcbeathhttps://github.com/dmcbeath,

Any luck trying this out. Would love to hear that you've had some success. :)

Cheers, Andy

— Reply to this email directly or view it on GitHubhttps://github.com/appsattic/node-awssum/issues/70#issuecomment-8210291.

chilts commented 12 years ago

Excellent, thanks Darin! :)

Cheers, Andy