Bug 11015: add copyright headers to some files
This patch adds a copyright headers where they didn't exist in the Koha
namespace.
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit c3a55042e7)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
d618757682
commit
aa8dc5f576
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::QueryParser::Driver::PQF;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 C & P Bibliography Services
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use base qw(OpenILS::QueryParser Class::Accessor);
|
||||
|
||||
use strict;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::QueryParser::Driver::PQF::Util;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 C & P Bibliography Services
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Scalar::Util qw(looks_like_number);
|
||||
|
||||
use strict;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::QueryParser::Driver::PQF::query_plan;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 C & P Bibliography Services
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use base 'OpenILS::QueryParser::query_plan';
|
||||
|
||||
use strict;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::QueryParser::Driver::PQF::query_plan::facet;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 C & P Bibliography Services
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use base 'OpenILS::QueryParser::query_plan::facet';
|
||||
|
||||
use strict;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::QueryParser::Driver::PQF::query_plan::filter;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 C & P Bibliography Services
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use base 'OpenILS::QueryParser::query_plan::filter';
|
||||
|
||||
use strict;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::QueryParser::Driver::PQF::query_plan::modifier;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 C & P Bibliography Services
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use base 'OpenILS::QueryParser::query_plan::modifier';
|
||||
|
||||
use strict;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::QueryParser::Driver::PQF::query_plan::node;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 C & P Bibliography Services
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use base 'OpenILS::QueryParser::query_plan::node';
|
||||
|
||||
use strict;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::QueryParser::Driver::PQF::query_plan::node::atom;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 C & P Bibliography Services
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use base 'OpenILS::QueryParser::query_plan::node::atom';
|
||||
|
||||
use strict;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
package Koha::SearchEngine;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose;
|
||||
use C4::Context;
|
||||
use Koha::SearchEngine::Config;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
package Koha::SearchEngine::Config;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose;
|
||||
|
||||
use Moose::Util qw( apply_all_roles );
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
package Koha::SearchEngine::ConfigRole;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose::Role;
|
||||
|
||||
requires 'indexes', 'index', 'ressource_types';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
package Koha::SearchEngine::FacetsBuilder;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose;
|
||||
|
||||
use Moose::Util qw( apply_all_roles );
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
package Koha::SearchEngine::FacetsBuilderRole;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose::Role;
|
||||
|
||||
requires 'build_facets';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::SearchEngine::Index;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose;
|
||||
|
||||
use Moose::Util qw( apply_all_roles );
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::SearchEngine::IndexRole;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose::Role;
|
||||
|
||||
requires 'index_record';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
package Koha::SearchEngine::QueryBuilder;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose;
|
||||
|
||||
use Moose::Util qw( apply_all_roles );
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
package Koha::SearchEngine::QueryBuilderRole;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose::Role;
|
||||
|
||||
requires 'build_query';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::SearchEngine::Search;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose;
|
||||
use C4::Context;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::SearchEngine::SearchRole;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose::Role;
|
||||
|
||||
requires 'search';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::SearchEngine::Solr;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose;
|
||||
use Koha::SearchEngine::Config;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
package Koha::SearchEngine::Solr::Config;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Modern::Perl;
|
||||
use Moose::Role;
|
||||
use YAML;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
package Koha::SearchEngine::Solr::FacetsBuilder;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Modern::Perl;
|
||||
use Moose::Role;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,24 @@
|
|||
package Koha::SearchEngine::Solr::Index;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
# Copyright 2012 C & P Bibliography Services
|
||||
# Copyright 2012 PTFS-Europe Ltd.
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose::Role;
|
||||
with 'Koha::SearchEngine::IndexRole';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
package Koha::SearchEngine::Solr::QueryBuilder;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Modern::Perl;
|
||||
use Moose::Role;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,23 @@
|
|||
package Koha::SearchEngine::Solr::Search;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
# Copyright 2012 KohaAloha
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose::Role;
|
||||
with 'Koha::SearchEngine::SearchRole';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::SearchEngine::Zebra;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose;
|
||||
|
||||
extends 'Data::SearchEngine::Zebra';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,22 @@
|
|||
package Koha::SearchEngine::Zebra::QueryBuilder;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Modern::Perl;
|
||||
use Moose::Role;
|
||||
use C4::Search;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,22 @@
|
|||
package Koha::SearchEngine::Zebra::Search;
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Copyright 2012 BibLibre
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Moose::Role;
|
||||
with 'Koha::SearchEngine::SearchRole';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue