File tree Expand file tree Collapse file tree 1 file changed +23
-19
lines changed Expand file tree Collapse file tree 1 file changed +23
-19
lines changed Original file line number Diff line number Diff line change 124124 my $scroll_release = $es_release -> scroll(
125125 body => {
126126 query => {
127- and => [
128- { term => { status => ' latest' } },
129- {
130- or => [
131- {
132- prefix => {
133- " resources.bugtracker.web" =>
134- ' http://github.com/'
135- }
127+ bool => {
128+ must => [
129+ { term => { status => ' latest' } },
130+ {
131+ bool => {
132+ should => [
133+ {
134+ prefix => {
135+ " resources.bugtracker.web" =>
136+ ' http://github.com/'
137+ },
138+ },
139+ {
140+ prefix => {
141+ " resources.bugtracker.web" =>
142+ ' https://github.com/'
143+ },
144+ },
145+ ],
136146 },
137- {
138- prefix => {
139- " resources.bugtracker.web" =>
140- ' https://github.com/'
141- }
142- },
143- ],
144- }
145- ],
146- }
147+ },
148+ ],
149+ },
150+ },
147151 },
148152 );
149153
You can’t perform that action at this time.
0 commit comments