Bug 9819 - 'stopwords'-related code removed
authorTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 10 Apr 2013 13:52:54 +0000 (10:52 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 30 Dec 2015 15:49:35 +0000 (15:49 +0000)
commit826326064ee0530428944e51eb778a44e29bbcd0
treeecaaf964e6df6be119e18ea112fcd02c7ee5384b
parentd827bb50d93a83c0ab7ce326675284bee411959a
Bug 9819 - 'stopwords'-related code removed

This patch removes code related to stopwords usage. The following methods are removed:

C4::Search->remove_stopwords
C4::Context->stopwords
C4::Context->_new_stopwords

And the buildQuery API was changed (removed the \@removed_stopwords return value).
A follow-up is provided for database changes, to make rebasing easier.

To test:
- Apply this patch
- Do some searches in both intranet and opac interfaces
- Nothing should break

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
29 files changed:
C4/Context.pm
C4/Search.pm
INSTALL.fedora7
admin/stopwords.pl [deleted file]
catalogue/search.pl
cataloguing/addbooks.pl
installer/data/mysql/de-DE/mandatory/stopwords.sql [deleted file]
installer/data/mysql/de-DE/mandatory/stopwords.txt [deleted file]
installer/data/mysql/en/mandatory/stopwords.sql [deleted file]
installer/data/mysql/en/mandatory/stopwords.txt [deleted file]
installer/data/mysql/fr-FR/1-Obligatoire/stopwords.sql [deleted file]
installer/data/mysql/fr-FR/1-Obligatoire/stopwords.txt [deleted file]
installer/data/mysql/it-IT/necessari/stopwords.sql [deleted file]
installer/data/mysql/it-IT/necessari/stopwords.txt [deleted file]
installer/data/mysql/nb-NO/1-Obligatorisk/stopwords.sql [deleted file]
installer/data/mysql/nb-NO/1-Obligatorisk/stopwords.txt [deleted file]
installer/data/mysql/pl-PL/mandatory/stopwords.sql [deleted file]
installer/data/mysql/pl-PL/mandatory/stopwords.txt [deleted file]
installer/data/mysql/ru-RU/mandatory/stopwords.sql [deleted file]
installer/data/mysql/ru-RU/mandatory/stopwords.txt [deleted file]
installer/data/mysql/uk-UA/mandatory/stopwords.sql [deleted file]
koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/stopwords-admin-search.inc [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/stopwords.tt [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
misc/batchRebuildBiblioTables.pl
opac/opac-search.pl
t/db_dependent/Search.t
test/search.pl