Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to Author examples. #7

Closed
wants to merge 3 commits into from
Closed

Conversation

Talina06
Copy link
Contributor

@oalders : I have made changes to 3 scripts in the author folder.
Could you please review them?
Thanks :)

trace_calls => \*STDOUT,
transport => 'curl',
return Search::Elasticsearch->new(
cxn_pool => "Static::NoPing",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use single quotes rather than double quotes, unless there's interpolation. ie my $foo = "something $bar "; and my $foo = 'something bar'; Could you swap out the double quotes to single for these cases? It leaves less room for confusion.

@oalders
Copy link
Member

oalders commented May 22, 2014

I think we should merge this pull request once all of the files have been updated. If we don't do this, the repo will be left in an unusable state.

scroll => "5m",
index => "v0",
type => "author",
size => 1,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The size has been changed from 100 to 1, which is a lot of queries. I'm guessing you had the lower number for debugging?

@oalders
Copy link
Member

oalders commented May 22, 2014

Looks great! I tested all of the changed scripts and I'm happy to say that they all work great after a fresh "carton install". 👍

@oalders
Copy link
Member

oalders commented May 23, 2014

@Talina06 As part of your work, could you port these over to the examples repository as well?

https://github.com/CPAN-API/cpan-api/wiki/Useful-Example-Searches

@Talina06
Copy link
Contributor Author

@oalders : Sure I'll add it. 👍

@Talina06 Talina06 closed this May 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants