[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 axel Amghar changed: What|Removed |Added Status|ASSIGNED|Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 axel Amghar changed: What|Removed |Added Attachment #89886|0 |1 is obsolete|| --- Comment #11 from axel Amghar --- Created attachment 89888 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89888=edit Bug 20384 - Elastic rebuild script improvements - options --offset, --length & --file This patch add the options --offset, --length & --file to the script: misc/search_tools/rebuild_elastic_search.pl To test : - apply the patch - verify that the script by default is working, launch : perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 - launch with the option --offset - then with the option --length - launch with both options : perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 --offset 1000 --length 200 - verify that the total records indexed is 200 launch perl misc/search_tools/rebuild_elastic_search.pl --man for help Option --file : To test: - after testing offset and length, apply this patch - launch perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 --file your_file.csv your file need to contain a column of biblionumber from biblio or authid from auth_header (only one column) You can go in Koha -> reports -> Create from sql SELECT biblionumber FROM biblio ; and then download in csv to have your csv file. - You can test with others query like : select biblionumber from biblio WHERE author LIKE 'a%'; Total number of results (411); - verify that you have the rigth number of records indexed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 axel Amghar changed: What|Removed |Added Attachment #89727|0 |1 is obsolete|| -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 axel Amghar changed: What|Removed |Added Attachment #89559|0 |1 is obsolete|| -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 --- Comment #9 from axel Amghar --- Created attachment 89886 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89886=edit Bug 20384 - Elastic rebuild script improvements - options --offset, --length & --file This patch add the options --offset, --length & --file to the script: misc/search_tools/rebuild_elastic_search.pl To test : - apply the patch - verify that the script by default is working, launch : perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 - launch with the option --offset - then with the option --length - launch with both options : perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 --offset 1000 --length 200 - verify that the total records indexed is 200 launch perl misc/search_tools/rebuild_elastic_search.pl --man for help Option --file : To test: - after testing offset and length, apply this patch - launch perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 --file your_file.csv your file need to contain a column of biblionumber from biblio or authid from auth_header (only one column) You can go in Koha -> reports -> Create from sql SELECT biblionumber FROM biblio ; and then download in csv to have your csv file. - You can test with others query like : select biblionumber from biblio WHERE author LIKE 'a%'; Total number of results (411); - verify that you have the rigth number of records indexed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 axel Amghar changed: What|Removed |Added Attachment #89560|0 |1 is obsolete|| --- Comment #10 from axel Amghar --- Created attachment 89887 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89887=edit Bug 20384: unit test for get_all_biblios_iterator & get_all_authorities_iterator -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 axel Amghar changed: What|Removed |Added Status|Needs Signoff |ASSIGNED -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 axel Amghar changed: What|Removed |Added Status|ASSIGNED|Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 --- Comment #8 from axel Amghar --- Created attachment 89727 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89727=edit Bug 20384 - Elastic rebuild script improvements : option --file To test: - after testing offset and length, apply this patch - launch perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 --file your_file.csv your file need to contain a column of biblionumber from biblio or authid from auth_header (only one column) You can go in Koha -> reports -> Create from sql SELECT biblionumber FROM biblio ; and then download in csv to have your csv file. - You can test with others query like : select biblionumber from biblio WHERE author LIKE 'a%'; Total number of results (411); - verify that you have the rigth number of records indexed -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 --- Comment #7 from axel Amghar --- Created attachment 89560 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89560=edit Bug 20384: unit test for get_all_biblios_iterator & get_all_authorities_iterator -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 axel Amghar changed: What|Removed |Added Attachment #89425|0 |1 is obsolete|| --- Comment #6 from axel Amghar --- Created attachment 89559 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89559=edit Bug 20384 - Elastic rebuild script improvements - options --offset & --length This patch add the options --offset & --length to the script: misc/search_tools/rebuild_elastic_search.pl To test : - apply the patch - verify that the script by default is working, launch : perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 - launch with the option --offset - then with the option --length - launch with both options : perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 --offset 1000 --length 200 - verify that the total records indexed is 200 launch perl misc/search_tools/rebuild_elastic_search.pl --man for help -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 --- Comment #5 from axel Amghar --- Created attachment 89425 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89425=edit Bug 20384 - Elastic rebuild script improvements - options --offset & --length This patch add the options --offset & --length to the script: misc/search_tools/rebuild_elastic_search.pl To test : - apply the patch - verify that the script by default is working, launch : perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 - launch with the option --offset - then with the option --length - launch with both options : perl misc/search_tools/rebuild_elastic_search.pl -v -d -c 100 --offset 1000 --length 200 - verify that the total records indexed is 200 launch perl misc/search_tools/rebuild_elastic_search.pl --man for help -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 axel Amghar changed: What|Removed |Added Assignee|koha-b...@lists.koha-commun |axel.amg...@biblibre.com |ity.org | CC||axel.amg...@biblibre.com Status|NEW |ASSIGNED -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 --- Comment #4 from Fridolin SOMERS --- something whould be awesome : limit on biblionumbers from a file. allow to rebuild from a report results. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 Fridolin SOMERS changed: What|Removed |Added CC||fridolin.som...@biblibre.co ||m --- Comment #3 from Fridolin SOMERS --- I'd say we should use same args as misc/migration_tools/rebuild_zebra.pl : range of records : --length 1234 how many biblio you want to export --offset 1243 offset you want to start to a where limit : --where let you specify a WHERE query, like itemtype='BOOK' or something like that --table specify a table (can be items, biblioitems, biblio, biblio_metadata) to retrieve biblionumber to index. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 --- Comment #2 from dominique.rou...@univ-st-etienne.fr --- It could also be useful to have an option to launch an indexing by decrementing the record number -w "100,2" index 2 biblio with biblionumber after 100th (101 and 102) and -w "100,-2" index 2 biblio with biblionumber before 100th (99 and 98) This allows the highest biblionumbers, i.e. the most recent records, to be indexed first. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 20384] Elastic rebuild script improvements - options for indexing
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20384 dominique.rou...@univ-st-etienne.fr changed: What|Removed |Added CC||dominique.rouger@univ-st-et ||ienne.fr --- Comment #1 from dominique.rou...@univ-st-etienne.fr --- It could also be useful to have an option to launch an indexing by decrementing the record number -w "100,2" index 2 biblio with biblionumber after 100th (101 and 102) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/