View | Details | Raw Unified | Return to bug 11015
Collapse All | Expand All

(-)a/Koha/QueryParser/Driver/PQF.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::QueryParser::Driver::PQF;
1
package Koha::QueryParser::Driver::PQF;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 C & P Bibliography Services
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use base qw(OpenILS::QueryParser Class::Accessor);
20
use base qw(OpenILS::QueryParser Class::Accessor);
3
21
4
use strict;
22
use strict;
(-)a/Koha/QueryParser/Driver/PQF/Util.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::QueryParser::Driver::PQF::Util;
1
package Koha::QueryParser::Driver::PQF::Util;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 C & P Bibliography Services
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use Scalar::Util qw(looks_like_number);
20
use Scalar::Util qw(looks_like_number);
3
21
4
use strict;
22
use strict;
(-)a/Koha/QueryParser/Driver/PQF/query_plan.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::QueryParser::Driver::PQF::query_plan;
1
package Koha::QueryParser::Driver::PQF::query_plan;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 C & P Bibliography Services
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use base 'OpenILS::QueryParser::query_plan';
20
use base 'OpenILS::QueryParser::query_plan';
3
21
4
use strict;
22
use strict;
(-)a/Koha/QueryParser/Driver/PQF/query_plan/facet.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::QueryParser::Driver::PQF::query_plan::facet;
1
package Koha::QueryParser::Driver::PQF::query_plan::facet;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 C & P Bibliography Services
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use base 'OpenILS::QueryParser::query_plan::facet';
20
use base 'OpenILS::QueryParser::query_plan::facet';
3
21
4
use strict;
22
use strict;
(-)a/Koha/QueryParser/Driver/PQF/query_plan/filter.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::QueryParser::Driver::PQF::query_plan::filter;
1
package Koha::QueryParser::Driver::PQF::query_plan::filter;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 C & P Bibliography Services
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use base 'OpenILS::QueryParser::query_plan::filter';
20
use base 'OpenILS::QueryParser::query_plan::filter';
3
21
4
use strict;
22
use strict;
(-)a/Koha/QueryParser/Driver/PQF/query_plan/modifier.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::QueryParser::Driver::PQF::query_plan::modifier;
1
package Koha::QueryParser::Driver::PQF::query_plan::modifier;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 C & P Bibliography Services
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use base 'OpenILS::QueryParser::query_plan::modifier';
20
use base 'OpenILS::QueryParser::query_plan::modifier';
3
21
4
use strict;
22
use strict;
(-)a/Koha/QueryParser/Driver/PQF/query_plan/node.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::QueryParser::Driver::PQF::query_plan::node;
1
package Koha::QueryParser::Driver::PQF::query_plan::node;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 C & P Bibliography Services
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use base 'OpenILS::QueryParser::query_plan::node';
20
use base 'OpenILS::QueryParser::query_plan::node';
3
21
4
use strict;
22
use strict;
(-)a/Koha/QueryParser/Driver/PQF/query_plan/node/atom.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::QueryParser::Driver::PQF::query_plan::node::atom;
1
package Koha::QueryParser::Driver::PQF::query_plan::node::atom;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 C & P Bibliography Services
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use base 'OpenILS::QueryParser::query_plan::node::atom';
20
use base 'OpenILS::QueryParser::query_plan::node::atom';
3
21
4
use strict;
22
use strict;
(-)a/Koha/SearchEngine.pm (+17 lines)
Lines 1-5 Link Here
1
package Koha::SearchEngine;
1
package Koha::SearchEngine;
2
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
3
use Moose;
20
use Moose;
4
use C4::Context;
21
use C4::Context;
5
use Koha::SearchEngine::Config;
22
use Koha::SearchEngine::Config;
(-)a/Koha/SearchEngine/Config.pm (+17 lines)
Lines 1-5 Link Here
1
package Koha::SearchEngine::Config;
1
package Koha::SearchEngine::Config;
2
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
3
use Moose;
20
use Moose;
4
21
5
use Moose::Util qw( apply_all_roles );
22
use Moose::Util qw( apply_all_roles );
(-)a/Koha/SearchEngine/ConfigRole.pm (+17 lines)
Lines 1-5 Link Here
1
package Koha::SearchEngine::ConfigRole;
1
package Koha::SearchEngine::ConfigRole;
2
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
3
use Moose::Role;
20
use Moose::Role;
4
21
5
requires 'indexes', 'index', 'ressource_types';
22
requires 'indexes', 'index', 'ressource_types';
(-)a/Koha/SearchEngine/FacetsBuilder.pm (+17 lines)
Lines 1-5 Link Here
1
package Koha::SearchEngine::FacetsBuilder;
1
package Koha::SearchEngine::FacetsBuilder;
2
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
3
use Moose;
20
use Moose;
4
21
5
use Moose::Util qw( apply_all_roles );
22
use Moose::Util qw( apply_all_roles );
(-)a/Koha/SearchEngine/FacetsBuilderRole.pm (+17 lines)
Lines 1-5 Link Here
1
package Koha::SearchEngine::FacetsBuilderRole;
1
package Koha::SearchEngine::FacetsBuilderRole;
2
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
3
use Moose::Role;
20
use Moose::Role;
4
21
5
requires 'build_facets';
22
requires 'build_facets';
(-)a/Koha/SearchEngine/Index.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::SearchEngine::Index;
1
package Koha::SearchEngine::Index;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use Moose;
20
use Moose;
3
21
4
use Moose::Util qw( apply_all_roles );
22
use Moose::Util qw( apply_all_roles );
(-)a/Koha/SearchEngine/IndexRole.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::SearchEngine::IndexRole;
1
package Koha::SearchEngine::IndexRole;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use Moose::Role;
20
use Moose::Role;
3
21
4
requires 'index_record';
22
requires 'index_record';
(-)a/Koha/SearchEngine/QueryBuilder.pm (+17 lines)
Lines 1-5 Link Here
1
package Koha::SearchEngine::QueryBuilder;
1
package Koha::SearchEngine::QueryBuilder;
2
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
3
use Moose;
20
use Moose;
4
21
5
use Moose::Util qw( apply_all_roles );
22
use Moose::Util qw( apply_all_roles );
(-)a/Koha/SearchEngine/QueryBuilderRole.pm (+17 lines)
Lines 1-5 Link Here
1
package Koha::SearchEngine::QueryBuilderRole;
1
package Koha::SearchEngine::QueryBuilderRole;
2
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
3
use Moose::Role;
20
use Moose::Role;
4
21
5
requires 'build_query';
22
requires 'build_query';
(-)a/Koha/SearchEngine/Search.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::SearchEngine::Search;
1
package Koha::SearchEngine::Search;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use Moose;
20
use Moose;
3
use C4::Context;
21
use C4::Context;
4
22
(-)a/Koha/SearchEngine/SearchRole.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::SearchEngine::SearchRole;
1
package Koha::SearchEngine::SearchRole;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use Moose::Role;
20
use Moose::Role;
3
21
4
requires 'search';
22
requires 'search';
(-)a/Koha/SearchEngine/Solr.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::SearchEngine::Solr;
1
package Koha::SearchEngine::Solr;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use Moose;
20
use Moose;
3
use Koha::SearchEngine::Config;
21
use Koha::SearchEngine::Config;
4
22
(-)a/Koha/SearchEngine/Solr/Config.pm (+17 lines)
Lines 1-5 Link Here
1
package Koha::SearchEngine::Solr::Config;
1
package Koha::SearchEngine::Solr::Config;
2
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
3
use Modern::Perl;
20
use Modern::Perl;
4
use Moose::Role;
21
use Moose::Role;
5
use YAML;
22
use YAML;
(-)a/Koha/SearchEngine/Solr/FacetsBuilder.pm (+17 lines)
Lines 1-5 Link Here
1
package Koha::SearchEngine::Solr::FacetsBuilder;
1
package Koha::SearchEngine::Solr::FacetsBuilder;
2
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
3
use Modern::Perl;
20
use Modern::Perl;
4
use Moose::Role;
21
use Moose::Role;
5
22
(-)a/Koha/SearchEngine/Solr/Index.pm (+20 lines)
Lines 1-4 Link Here
1
package Koha::SearchEngine::Solr::Index;
1
package Koha::SearchEngine::Solr::Index;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
# Copyright 2012 C & P Bibliography Services
7
# Copyright 2012 PTFS-Europe Ltd.
8
#
9
# Koha is free software; you can redistribute it and/or modify it
10
# under the terms of the GNU General Public License as published by
11
# the Free Software Foundation; either version 3 of the License, or
12
# (at your option) any later version.
13
#
14
# Koha is distributed in the hope that it will be useful, but
15
# WITHOUT ANY WARRANTY; without even the implied warranty of
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
# GNU General Public License for more details.
18
#
19
# You should have received a copy of the GNU General Public License
20
# along with Koha; if not, see <http://www.gnu.org/licenses>.
21
2
use Moose::Role;
22
use Moose::Role;
3
with 'Koha::SearchEngine::IndexRole';
23
with 'Koha::SearchEngine::IndexRole';
4
24
(-)a/Koha/SearchEngine/Solr/QueryBuilder.pm (+17 lines)
Lines 1-5 Link Here
1
package Koha::SearchEngine::Solr::QueryBuilder;
1
package Koha::SearchEngine::Solr::QueryBuilder;
2
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
3
use Modern::Perl;
20
use Modern::Perl;
4
use Moose::Role;
21
use Moose::Role;
5
22
(-)a/Koha/SearchEngine/Solr/Search.pm (+19 lines)
Lines 1-4 Link Here
1
package Koha::SearchEngine::Solr::Search;
1
package Koha::SearchEngine::Solr::Search;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
# Copyright 2012 KohaAloha
7
#
8
# Koha is free software; you can redistribute it and/or modify it
9
# under the terms of the GNU General Public License as published by
10
# the Free Software Foundation; either version 3 of the License, or
11
# (at your option) any later version.
12
#
13
# Koha is distributed in the hope that it will be useful, but
14
# WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
# GNU General Public License for more details.
17
#
18
# You should have received a copy of the GNU General Public License
19
# along with Koha; if not, see <http://www.gnu.org/licenses>.
20
2
use Moose::Role;
21
use Moose::Role;
3
with 'Koha::SearchEngine::SearchRole';
22
with 'Koha::SearchEngine::SearchRole';
4
23
(-)a/Koha/SearchEngine/Zebra.pm (+18 lines)
Lines 1-4 Link Here
1
package Koha::SearchEngine::Zebra;
1
package Koha::SearchEngine::Zebra;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use Moose;
20
use Moose;
3
21
4
extends 'Data::SearchEngine::Zebra';
22
extends 'Data::SearchEngine::Zebra';
(-)a/Koha/SearchEngine/Zebra/QueryBuilder.pm (+17 lines)
Lines 1-5 Link Here
1
package Koha::SearchEngine::Zebra::QueryBuilder;
1
package Koha::SearchEngine::Zebra::QueryBuilder;
2
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
3
use Modern::Perl;
20
use Modern::Perl;
4
use Moose::Role;
21
use Moose::Role;
5
use C4::Search;
22
use C4::Search;
(-)a/Koha/SearchEngine/Zebra/Search.pm (-1 / +18 lines)
Lines 1-4 Link Here
1
package Koha::SearchEngine::Zebra::Search;
1
package Koha::SearchEngine::Zebra::Search;
2
3
# This file is part of Koha.
4
#
5
# Copyright 2012 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
2
use Moose::Role;
20
use Moose::Role;
3
with 'Koha::SearchEngine::SearchRole';
21
with 'Koha::SearchEngine::SearchRole';
4
22
5
- 

Return to bug 11015