Merge pull request #325 from yuce/readme-update

Readme update
This commit is contained in:
Yuce Tekol 2017-03-08 00:08:35 +02:00 committed by GitHub
commit d3a3cf5d46

View file

@ -215,6 +215,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)
```
@ -225,11 +230,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)`.