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

17 lines
417 B
JavaScript

import { wrapper } from './utils.js';
const name = 'religion';
const search = 'relig* | christi* | god | bible | jesus';
const body = wrapper(builder =>
builder
.orFilter('wildcard', 'text', 'relig*')
.orFilter('wildcard', 'text', 'christi*')
.orFilter('match', 'text', 'god')
.orFilter('match', 'text', 'bible')
.orFilter('match', 'text', 'jesus')
);
export default { body, name, search };