From 2ecea00515e225c8e50c6a827dee797951605b2d Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Sun, 19 Feb 2017 21:09:12 +0300 Subject: [PATCH] updated README to have TopN(frame=bar) variant --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2079010ec..a3bfb35dc 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,11 @@ Range(id=10, frame="foo", start="1970-01-01T00:00", end="2000-01-02T03:04") --- #### TopN() +``` +TopN(frame="bar") +``` +Returns all Bitmaps in the cache from frame `bar` sorted by the count of bits. + ``` TopN(frame="bar", n=20) ``` @@ -206,11 +211,9 @@ TopN(Bitmap(id=10, frame="foo"), frame="bar", n=20) ``` Returns the top 20 Bitmaps from `bar` sorted by the count of bits in the intersection with `Bitmap(id=10)`. - ``` TopN(Bitmap(id=10, frame="foo"), frame="bar", n=20, field="category", [81,82]) ``` - Returns the top 20 Bitmaps from `bar`in attribute `category` with values `81 or 82` sorted by the count of bits in the intersection with `Bitmap(id=10)`.