blob: 6e0f7245d014a3bbacbe9bbd31bafce3733b3e7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/perl
use strict;
use warnings;
use Bugzilla;
use JSON '-convert_blessed_universally';
print JSON->new->pretty->encode(
Bugzilla::Elastic::Search->new(
quicksearch => "@ARGV",
fields => ['bug_id', 'short_desc'],
order => ['bug_id'],
)->es_query
);
|