tta-elastic/server/get-stats/topics/immigration.js

16 lines
413 B
JavaScript

import { wrapper } from './utils.js';
const name = 'immigration';
const search = 'immigrant* | border* | immigration | \\"the wall\\"';
const body = wrapper(builder =>
builder
.orFilter('wildcard', 'text', 'immigrant*')
.orFilter('wildcard', 'text', 'border*')
.orFilter('match', 'text', 'immigration')
.orFilter('match_phrase', 'text', 'the wall')
);
export default { body, name, search };