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

16 lines
362 B
JavaScript

import { wrapper } from './utils.js';
const name = 'stocks';
const search = 'stock* | market | dow | nasdaq';
const body = wrapper(builder =>
builder
.orFilter('wildcard', 'text', 'stock*')
.orFilter('match', 'text', 'market')
.orFilter('match', 'text', 'dow')
.orFilter('match', 'text', 'nasdaq')
);
export default { body, name, search };