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

15 lines
311 B
JavaScript

import { wrapper } from './utils.js';
const name = 'trade';
const search = 'tariff* | trade | WTO';
const body = wrapper(builder =>
builder
.orFilter('wildcard', 'text', 'tariff*')
.orFilter('match', 'text', 'trade')
.orFilter('match', 'text', 'wto')
);
export default { body, name, search };