Skip to content

Commit

Permalink
update sitemap to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Jun 2, 2017
1 parent ed913b7 commit e9eb804
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/MetaCPAN/Sitemap.pm
Expand Up @@ -58,7 +58,7 @@ sub process {
# XXX Remove this hardcoded URL
my $es = Search::Elasticsearch->new(
cxn_pool => 'Static::NoPing',
nodes => ['api.metacpan.org'],
nodes => ['https://fastapi.metacpan.org'],
send_get_body_as => 'POST',
);

Expand All @@ -67,7 +67,7 @@ sub process {
# Start off with standard search parameters ..

my %search_parameters = (
index => 'v0',
index => 'v1',
size => 5000,
type => $self->object_type,
fields => [$field_name],
Expand Down

0 comments on commit e9eb804

Please sign in to comment.