summaryrefslogtreecommitdiffstats
path: root/scripts/bulk_index.pl
AgeCommit message (Collapse)AuthorFilesLines
2017-07-20Bug 1381869 - Use separate elasticsearch index for Bugzilla::UserDylan William Hardison1-3/+1
This patch removes the concept of a single, bugzilla-wide index in favor of a per-class index. bugs and comments continue to use Bugzilla->params->{elasticsearch_index} but users use Bugzilla->params->{elasticsearch_index} . "_user". It is assured via the ChildObject trait (role) that comments will share the index with bugs, and we have kept the index for bugs/comments the same to avoid the multi-hour reindexing of production. Re-indexing users takes only five minutes. Subsequent work on this will allow use to version the index names and use aliases, but I wanted to keep this patch small. This patch also corrects some mistakes 1. $indexer->put_mapping() should not have been a public method. 2. Time::HiRes should be imported at the top of the file, not in a sub.
2017-07-12Bug 1378999 - Add update/new stats to bulk_indexer verbose modeDylan William Hardison1-8/+16
2017-04-28fix @INC for bulk_indexDylan William Hardison1-0/+10
2017-02-23Fix file permissions and add c9-build scriptDylan William Hardison1-0/+0
2017-01-04Bug 1307478 - Elasticsearch Indexer / Bulk IndexerDylan William Hardison1-0/+70