smallorange-es-client
v1.0.9
Published
Smallorange elasticsearch client
Downloads
7
Maintainers
Readme
Small Orange Elastic Search
It wraps elastic search methods with RXJS.
API
search(index: string, type: string, body: object): Observable<object>;
get(index: string, type: string, id: string): Observable<object>;
multiGet(index: string, type: string, ...ids): Observable<object>;
index(index: string, type: string, id, body: object): Observable<object>;
delete(index: string, type: string, id: string): Observable<object>;
bulk(index: string, type: string, action: string, items: Array<object>): Observable<object>;
putMapping(index: string, type: string, body: object): Observable<object>;
putTemplate(order: number, name: string, body: object): Observable<object>;
getIndexes(index: string): Observable<object>;