mirror of https://github.com/bpb27/tta-elastic
14 lines
330 B
JavaScript
14 lines
330 B
JavaScript
import { wrapper } from './utils.js';
|
|
|
|
const name = 'climateChange';
|
|
|
|
const search = '\\"climate change\\" | \\"global warming\\"';
|
|
|
|
const body = wrapper(builder =>
|
|
builder
|
|
.orFilter('match_phrase', 'text', 'climate change')
|
|
.orFilter('match_phrase', 'text', 'global warming')
|
|
);
|
|
|
|
export default { body, name, search };
|