mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 16:15:56 +00:00
added docs for TopN attributes
This commit is contained in:
parent
24c449b887
commit
a4ccbf869a
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue