Ran
|
Files
13
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<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">">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&#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 <marty.schoch@gmail.com> 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
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|