From d699d41ea7897c7b4c6fa4972d8587e715cbddc2 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Tue, 27 Sep 2016 14:07:29 -0500 Subject: [PATCH] added docs for TopN attributes --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dfc7e5427..956e6db22 100644 --- a/README.md +++ b/README.md @@ -183,9 +183,15 @@ Returns the top 20 Bitmaps from frame `bar`. ``` 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()`. +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)`. ## Development