tta-elastic/server/get-stats/topics/climate-change.js

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 };