From 5e15feb73b35833d84f31c70a72cda1717941705 Mon Sep 17 00:00:00 2001 From: Lens0021 Date: Fri, 18 Jun 2021 08:14:37 +0900 Subject: [PATCH] Edit description of flushc() (#24) --- api-docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-docs.md b/api-docs.md index 437292a..43b39e0 100644 --- a/api-docs.md +++ b/api-docs.md @@ -38,7 +38,7 @@ after connecting to Ingest channel you can call the following methods on it | `->push(string $collection,string $bucket, string $object_id, string "data", [string ])` | Add an item to index and Returns a Sonic Response, locale is optional, which should be a valid [ISO 639-3](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) locale (eng = English), if set to `none` lexing will be disabled | | `->pop(string $collection,string $bucket, string $object_id, string "data"` | pops an item out of index and returns a Sonic Response | | `->count(string $collection,[string $bucket, [string $object_id]]): int` | counts the number of items in collection, bucket or object | -| `->flushc(string $collection):int` | Flushes the buckets from a collection, returns a integer saying the number of items flushed | +| `->flushc(string $collection):int` | Flushes the objects from a collection, returns a integer saying the number of items flushed | | `->flushb(string $collection, string $bucket):int` | Flushes the objects from a bucket, returns a integer saying the number of items flushed | | `->flusho(string $collection, string $bucket, string $object_id):int` | Flushes the indexed text from an objects, returns a integer saying the number of items flushed | | `->ping(): string` | Pings the server, should return _PONG_ |