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

couchbase / cbft / 230
30%

Build:
DEFAULT BRANCH: master
Ran 25 Jul 2016 10:09PM UTC
Jobs 1
Files 11
Run time 2s
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
230

push

travis-ci

mschoch
MB-17846 - support determining doc type by regexp on key

support for this is added by additional configuration section
named "doc_config".  The doc config has a "mode" which can
be one of 3 values: "type_field", "docid_prefix" or
"docid_regexp".

Operation like we have today with a type field would be configured with:

    "doc_config": {
      "mode": "type_field"
      "type_field": "type",
      "default_type": "default",
    }

DocID prefix using - as the delimiter would look like:

    "doc_config": {
      "mode": "docid_prefix"
      "docid_prefix_delim": "-",
      "default_type": "default",
    }

And DocID regexp also for "-" would look like:

    "doc_config": {
      "mode": "docid_regexp"
      "docid_regexp": "^[^-]+",
      "default_type": "default",
    }

Change-Id: I2b830c0cb
Reviewed-on: http://review.couchbase.org/65220
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Reviewed-by: Marty Schoch <marty.schoch@gmail.com>
Tested-by: Marty Schoch <marty.schoch@gmail.com>

1321 of 2823 relevant lines covered (46.79%)

9.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 230.1 25 Jul 2016 10:09PM UTC 0
46.79
Travis Job 230.1
Source Files on build 230
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #230
  • dc1bb265 on github
  • Prev Build on master (#229)
  • Next Build on master (#231)
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