Skip to content

Commit

Permalink
permitted dots in solr collection names
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Mar 23, 2016
1 parent f4babd9 commit 3f70ca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HariSekhon/Solr.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

package HariSekhon::Solr;

$VERSION = "0.8.14";
$VERSION = "0.8.15";

use strict;
use warnings;
Expand Down Expand Up @@ -602,7 +602,7 @@ sub msg_shard_status(){
sub isSolrCollection($){
my $collection = shift;
defined($collection) or return undef;
$collection =~ /^([\w-]+)$/ or return undef;
$collection =~ /^([\w\.-]+)$/ or return undef;
return $1;
}
*isSolrCore = \&isSolrCollection;
Expand Down

0 comments on commit 3f70ca7

Please sign in to comment.