mirror of https://github.com/bpb27/tta-elastic
15 lines
360 B
JavaScript
15 lines
360 B
JavaScript
import { wrapper } from './utils.js';
|
|
|
|
const name = 'entitlements';
|
|
|
|
const search = '\\"social security\\" | medicare | medicaid';
|
|
|
|
const body = wrapper(builder =>
|
|
builder
|
|
.orFilter('match_phrase', 'text', 'social security')
|
|
.orFilter('match', 'text', 'medicare')
|
|
.orFilter('match', 'text', 'medicaid')
|
|
);
|
|
|
|
export default { body, name, search };
|