• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

couchbase / cbft / 235
30%

Build:
DEFAULT BRANCH: master
Ran 08 Sep 2016 01:19AM UTC
Jobs 1
Files 13
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
235

push

travis-ci

steveyen
<a href="https://github.com/couchbase/cbft/commit/<a class=hub.com/couchbase/cbft/commit/5cb748ea2bc15315664caac72b1296e63c36cf40">5cb748ea2<a href="https://github.com/couchbase/cbft/commit/5cb748ea2bc15315664caac72b1296e63c36cf40">&quot;&gt;bleve search result cache (simple, process-wide LRU)

Of note, an additional rev number is now tracked for each bleve pindex
(see BleveDest.rev), and it&amp;#39;s bumped whenever a bleve batch is
executed.  This allows cache entries to be checked for staleness.

Some configuration options include...

* resultCacheMaxLen - max number of entries in the result cache.
  Default: 256.

* resultCacheMinLookups - number of lookups needed before we start
  caching a result entry.  The idea is avoid using resources for
  rarely encountered lookups.  Default: 3.

* resultCacheMaxBytesPerEntry - maximum size in bytes of an entry
  result.  Results larger than this are not cached.  Default: 32KB.

* bleveResultCacheMaxHits - only cache a bleve result entry whose size
  in number of hits is less than or equal to bleveResultCacheMaxHits,
  in order to avoid consuming too much cache memory.  Default: 100.

Change-Id: I</a><a class="double-link" href="https://github.com/couchbase/cbft/commit/<a class="double-link" href="https://github.com/couchbase/cbft/commit/6463c2eb1fcb33fd6c603fe411741707c51afd07">6463c2eb1</a>">6463c2eb1</a><a href="https://github.com/couchbase/cbft/commit/5cb748ea2bc15315664caac72b1296e63c36cf40">
Reviewed-on: http://review.couchbase.org/67327
Reviewed-by: Marty Schoch &lt;marty.schoch@gmail.com&gt;
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>

1462 of 3070 relevant lines covered (47.62%)

9.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 235.1 08 Sep 2016 01:19AM UTC 0
47.62
Travis Job 235.1
Source Files on build 235
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #235
  • 5cb748ea on github
  • Prev Build on master (#234)
  • Next Build on master (#236)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc