mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
* Add elastic.js type definitions. * Fix tests. * Fix tests. * Fix meta information format.
7 lines
211 B
TypeScript
7 lines
211 B
TypeScript
/// <reference path="elastic.js.d.ts"/>
|
|
|
|
let body = new elasticjs.Request({})
|
|
.query(new elasticjs.MatchQuery('title_field', 'testQuery'))
|
|
.facet(new elasticjs.TermsFacet('tags').field('tags'))
|
|
.toJSON();
|